Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
182 Points
59 Posts
Sep 20, 2010 07:28 PM|LINK
I think you will need to go to an actual page rather than a path
<customErrors mode="On" defaultRedirect="/Error/ServerError/500" />
<httpErrors errorMode="Custom" defaultResponseMode="Redirect" defaultPath="~/Error/ServerError">
You have been trying to go to somewhere with and extension. Try something like:
<customErrors mode="On" defaultRedirect="/Error/ServerError/500.aspx" />
If not try going to a basic htm page first and then to aspx pages.
Rovastar
Member
182 Points
59 Posts
Re: Custom errors section does not redirect 404 errors
Sep 20, 2010 07:28 PM|LINK
I think you will need to go to an actual page rather than a path
<customErrors mode="On" defaultRedirect="/Error/ServerError/500" />
<httpErrors errorMode="Custom" defaultResponseMode="Redirect" defaultPath="~/Error/ServerError">
You have been trying to go to somewhere with and extension. Try something like:
<customErrors mode="On" defaultRedirect="/Error/ServerError/500.aspx" />
If not try going to a basic htm page first and then to aspx pages.