iis 6 - ASP.NET Custom Errors being ignored -


I have custom errors configured in my web.config, but the custom error specified in the IIS 6.0 custom error tab Returning website configuration.

  & lt; System.web & gt; & Lt; CustomErrors & gt; & Lt; Error status code = "404" redirect = "UrlRedirect.aspx" /> & Lt; / CustomErrors & gt; & Lt; /system.web>  

What am I missing?

Keep in mind that the 404 handler specified in Web.config only for files managed by ASP.NET Runtime Kicks - .html, image, css, javascript will be controlled by all 404 page specified in your host IIS settings.

If you want these file types to be handled by your custom error, then you will need to direct IRS to 404's URLRDEDAPX.


Comments