CUSTOM ERROR PAGES

  • Thread starter Thread starter Mike Speak
  • Start date Start date
M

Mike Speak

Help!!!

This should be sooo simple.

In web.config, i have the following element:

<customErrors defaultRedirect="myError.aspx" mode="RemoteOnly">
<error statusCode="404" redirect="my404Error.aspx" />
</customErrors>

However, this just does not work.

If i type in ..mySite/test i get a standard 404 error, not the one
specified in my <error/> tag.
If i type in ..mySite/test.asp - same thing
If i type in ..mySite/test.aspx - i get a .NetFramework error page

what am i doing wrong? do i need to tweak iis? another config file?

I am using .NETF 1.0 on XP Pro machine.

TIA
 
Back
Top