Anisha Hosting
£10.00 per month
>> Discover more ...
eCommerce Hosting
£14.00 per month
>> Discover more ...
SQL Server Hosting
£22.00 per month
>> Discover more ...
Anisha Tutorials
Your domain available:

Articles

Windows 2003 - IIS6 Hosting Provider

Dot Net Hosting


MySQL

php


free webmail

FREE WebMail as standard
with all hosting account

 


dotnet hosting visual studio.net

Hosting with a difference ...

 

Tutorial - ASP - Custom Error Page / Document

Using your very own custom error page in you Asp.NET website is amazingly easy, specially following the proceeding tutorial. 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>

 

 

All Rights Reserved Anisha.co.uk