dotnet webhosintg
  
asp.net hosting DotNet Hosting  eCommerce Hosting  SQL Server Hosting  ADO DotNet  ASP DotNet  DotNet Tutorials 
  
         
 

Your domain available ?
www.

BUY NOW
ASPNET 4
SQL SERVER HOSTING
SQL SERVER 2012 HOSTINGNew
DOTNETNUKE HOSTING
GET LISTED IN GOOGLE
30 DAY MONEY BACK
OUR PARTNERS
ASP NET TUTORIALS
WEB DESIGN TEMPLATES
TERMS
PRESS ROOM
CONTACT US




 

 

Custom Error Page - ASP DotNet

Tutorial - Custom Error Page

Using you own custom error page in you Asp.NET website is easy. Place the following web.config file in the website root.

<error statusCode="404" redirect="/ErrorPage/404.aspx" />

status code is the error code you would like to catch.

<configuration>

<system.web>

<customErrors mode="On" defaultRedirect="/ErrorPage/404.aspx">
<error statusCode="404" redirect="/ErrorPage/404.aspx" />
</customErrors>


</system.web>

</configuration>

 

 

 

Stacks of web space and bandwidth with all packages

ASP Hosting £6/Month


.net hosting

.NET Hosting £10/Month
400MB


Terms   Privacy

Copyright ©2002-2011 DotNet We Hosting UK, All rights reserved