G
Guest
I have written a custom dll that I put inside the /bin directory of a
production IIS server. Inside the config file of the web application i have
added the following setting:
<httpModules>
<add name="ExceptionManagerHTTPModule"
type="Digiscribe.HTTPModule.ExceptionManagerHTTPModule, HTTPModule" />
</httpModules>
In this dll I have inherited from the IHttpModule which in turn has given me
the ability to trap unhandled exceptions and errors through out the
application. Everything is working great. If an error happens that has not
been handled then this module kicks in and does what I need it to do.
However, on all 404 errors it decides not to work and directs it to a generic
error page "The Resource cannot be found".
When I was working with this application on my local box 404 errors were
handled by my custom dll, once moved to production on a different server,
they are no longer handled. Any help in figuring this out will be greatly
appreciated. Thank you in advance.
Sincerely,
Paul ><>
production IIS server. Inside the config file of the web application i have
added the following setting:
<httpModules>
<add name="ExceptionManagerHTTPModule"
type="Digiscribe.HTTPModule.ExceptionManagerHTTPModule, HTTPModule" />
</httpModules>
In this dll I have inherited from the IHttpModule which in turn has given me
the ability to trap unhandled exceptions and errors through out the
application. Everything is working great. If an error happens that has not
been handled then this module kicks in and does what I need it to do.
However, on all 404 errors it decides not to work and directs it to a generic
error page "The Resource cannot be found".
When I was working with this application on my local box 404 errors were
handled by my custom dll, once moved to production on a different server,
they are no longer handled. Any help in figuring this out will be greatly
appreciated. Thank you in advance.
Sincerely,
Paul ><>