adding httpmodule causes ambiguous confi

J

Jimi Schacht

ok, so, i've got a web project in c#. I'm using IIS instead of dev server.
The application builds fine until I add an httpmodule I intend to use for
URL rewriting and it's entry in the web.config. the httpmodule is basically
a simple implementation as all I've done so far is to implement required
methods and to those I've added no code. the app builds but when I go to run
it, it says the module type urlrewriter is ambiguous. it says it exists in
the actual dir where i want it as well as some temp dir listed as
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\root\1e59722e\ddf93fc8\App_Code.60b-dxku.DL even if i go to that dir
and delete all the files (which requires me to close vs as well as stop IIS)
i get the same error when starting to debug again. am i missing something or
doing something wrong?

my web.config entry is basically copied from the httpmodule samples i've
found online like
<httpmodules>
<add name="urlrewriter" type=-"company.site.common.urlrewriter" />
</httpmodules>

which seems to me to be about right.

if i remove that config line everything works fine but i get no rewriting

please help, been banging my head against a wall on this for days and cant
seem to find any answers
 
G

Guest

Are you sure that u have no others httpModules with the same name in mashine
and global configs?

Try to add it with other name
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top