Check if HttpModule is available

M

Matze

We have an ASP applications that needs an HttpModule.
For some reason we sometimes comment out the
"<httpModules>....</httpModules>" section in web.config and also
delete the wildcard mapping for the module in IIS.
The Problem we have is that the application can run without the
handler and doesnt throw an exception if it is not configured. Is
there a way to throw an Excetion if the HttpModule is not present?

Mathias Fritsch
 

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

Top