(Example)
<customErrors mode="On">
<error statusCode="404" redirect="NotFound.htm"/>
</customErrors>
NotFound.htm exists in my web application directory but the default page is
always displayed.
<customErrors mode="On" defaultRedirect="Error.aspx">
<error statusCode="404" redirect="Notfound.aspx" />
</customErrors>
Best Regards
Jian Shen
This posting is provided "AS IS" with no warranties, and confers no rights.
According to Microsoft's documentation, the <error> element is supported
by IIS5.0 (though no mention is made
about IIS6.0).
Yes, you CAN remap this in IIS, however I'm studying for MCAD/MCSD
certification and need to know if the <error> element within
<customErrors> of the web.config actually works (am I doing something
wrong, or is this feature no longer supported in IIS6.0)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!