dotnet webhosintg
  
Home | DotNet Hosting | eCommerce Hosting | SQL Server Hosting| ADO DotNet | ASP DotNet | DotNet Tutorials | Contact Us  |
  
         
 

Your domain available ?
www.

BUY NOW
ASPNET 3.0 New
ASPNET 2.0
SQL SERVER 2005 HOSTING
GET LISTED IN GOOGLE
30 DAY MONEY BACK
OUR PARTNERS
TUTORIALS
WEB DESIGN TEMPLATES
 TERMS
 PRESS ROOM




 

 

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


Copyright ©2002 DotNet Hosting UK, All rights reserved