By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,763 Members | 1,609 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,763 IT Pros & Developers. It's quick & easy.

Clearing HTTPHandlers

P: n/a
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
Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Patrick Kristiansen" <pa*****@sixulon.dk> wrote in message
news:45************************@posting.google.com ...
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.
--
John
Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.