Clearing HTTPHandlers

  • Thread starter Patrick Kristiansen
  • Start date
P

Patrick Kristiansen

Hi!

I have on my website a root web.config file, and also created a
subapplication "/publikationer". In my root web.config I've specified
an HTTP-handler for some requests, but this is mirrored in my
subapplication. Eventhough I <clear /> my HTTP-handlers it doesn't
seem to work, and it still gives me an error about an assembly not
found. It should not use this certain HTTP-handler in my
subapplication.

What should I do?

==== My root web.config ====
....
<httpHandlers>
<add verb="*" path="*.ventus" type="Ventus.VentusHttpHandler,Ventus"
/>
</httpHandlers>
....

==== Subapplication web.config ====
<httpHandlers>
<clear/>
</httpHandlers>

==== Error ===
File or assembly name Ventus, or one of its dependencies, was not
found.

Thanks in advance,
Patrick
 
J

John Saunders

Patrick Kristiansen said:
Hi!

I have on my website a root web.config file, and also created a
subapplication "/publikationer". In my root web.config I've specified
an HTTP-handler for some requests, but this is mirrored in my
subapplication. Eventhough I <clear /> my HTTP-handlers it doesn't
seem to work, and it still gives me an error about an assembly not
found. It should not use this certain HTTP-handler in my
subapplication.

What should I do?

Microsoft has previously admitted that this is a deficiency in ASP.NET. The
answer is that you'l have to include that assembly where your subapplication
can find it, maybe in the bin directory.
 

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,982
Messages
2,570,190
Members
46,740
Latest member
AdolphBig6

Latest Threads

Top