Since ASP.NET does not implement the customError pages properly for 404 errors, I want to implement a custom error handling module to take its place. There are numerous examples on the Internet what needs to be in the code, but very little on how to implement it.
After implementing the following code, when I navigate to a page that does not exist, I get a standard 404 error from IIS. I do not think my handler is working or I should see my custom 404 error page.
I am using Visual Studio Team System 2008 within Windows Vista SP1. The target is .NET 3.5, and I am using IIS to debug my projects, running VS as administrator to accomplish this.
I have created an entry in my web.config file as
<system.web>
<httpModules>
<add name="HttpErrorModule" type="HttpErrorModule, HttpErrorModule" />
</httpModules>< ...
Go to the complete details ...