CUSTOM ERROR PAGES

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Staff online

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top