Check if HttpModule is available

  • Thread starter Thread starter Matze
  • Start date Start date
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
 
Back
Top