Home | Articles|Namespace|Interview Questions|Tools|Jobs|Projects|Community
Asp.net Tutorials

»Dotnet Ads
»Message Boards
Message Boards
Dotnet Books

»Member Details
Register
Login
LogOut
Submit Code
Submit Jobs
Submit Projects

»Competition
Community
Winners
Prizes
Write For Us
Members

»Other Resources
Links
Dotnet Resources

404 redirect in asp.net

To create a 404 redirect in asp.net is very simple , It is good to show the user a custom error message instead of showing a system error

in the web.config customerrors tag add the attribute defaultredirect which can be redirected to your custom error page like in this case 404.aspx







when the page encounters a error the page will be redirected to the 404.aspx page.

Have a Question and dont know the answer post it below and get answers in minutes

Due to spam this feature is disabled
To get answers fast , make sure you enter a detailed subject for example: "DataGrid issues need answer" not "DataGrid"

Subject:

Catjegory Name:

Message:



© 2008 dotnetwatch.com -- Privacy policy