I have a site where I use CustomErrors in the web.config to specify a custom error page, and that\'s working just fine. The custom 404 page is also specified in the IIS con
You may have to add the below to web.config
For more information check : http://geekswithblogs.net/shahed/archive/2007/10/23/116278.aspx
Update: We can utilize the IIS7 functionality for displaying custom 404 error pages using HTTPModules as described in http://professionalaspnet.com/archive/2008/02/13/Enforcing-a-Custom-404-Page-in-ASP.NET.aspx