custom error pages in IIS for Windows 7

Punkerr

New Member
In windows 7 I'm trying to set up custom error pages. One for 404, one for 500, and one catch all for any other error (client side or server side) that a user may encounter when something times out, or there is a malfunction when asp does its compiling. \[code\]404.htm500.htmerror.htm\[/code\]Just really simple html pages that say error and nothing technical like the defaults. This post and this post seem to be talking about crafting the error pages in ASP, not just taking an html file and setting it as a custom error page. In IIS I have gone to the error page selection tool that is not meant for ASP
dgje9.png
And entering this information into the \[code\]Edit error pages settings\[/code\] dialogueFull address I've entered: WebvView\webview_error_pages\error.htm (by selecting after I've hit the elipses button to the side to browse. (I've shortened all of these addresses for this post).
c7vA2.png
The custom default address works. But when I try to make an error page for 404 like this:
kVoAQ.png
kbt75.png
and try to go to a page which doesn't exist, I get this simple error message:\[quote\] The page cannot be displayed because an internal server error has occurred.\[/quote\]Not mine. And not the default that was working before I set up the custom 404.What am I doing wrong?Thanks!EDITalso, I've just changed some part of the ASP and gotten a runtime error and not my custom error. Is there any way to stop users from seeing these frighteningly technical pages??Thanks again!
 
Back
Top