IIS 5 & IIS 6
Custom 404 page issues
Last post Oct 22, 2008 12:39 PM by shouston
Oct 20, 2008 03:52 PM|shouston|LINK
Added a custom 404 but it is not workign for htm and html pages. Works just fine for invalid aspx and asp pages.
On thm and html pages I get this instead.
In IIS I set the custom 404 to url: /404.aspx
Oct 20, 2008 09:54 PM|steve schofield|LINK
That is tricky. Have you tried mapping the .html and .htm script mappings in IIS?
Windows Server MVP - IIS
Log archival solution
Install, Configure, Forget
Oct 22, 2008 12:32 PM|Gabriel_EUK|LINK
you can try one thing, open your IIS >> right click on the website in question >> Properties >> Home Directory >> Configuration >> you will get list of extensions added for web site >> click on .aspx >> Edit >> here at the bottom uncheck check box for "Verify
that file exists" >> Ok >> Ok
and try again...update us if the problem persist
Oct 22, 2008 12:39 PM|shouston|LINK
Thanks for the suggestions. I figured it out. The developer had left some code in the web.config that was averiding this.