Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 14th, 2007, 02:44 AM
Authorized User
 
Join Date: Dec 2006
Location: , , India.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Custom HTTP Error Handling

Quote:
quote:
<customErrors defaultRedirect="ErrorPage.aspx" mode="On">
<error statusCode="500" redirect="500.aspx" />
<error statusCode="404" redirect="404.aspx" />
<error statusCode="403" redirect="403.aspx" />
</customErrors>
I Used the above code to Handle the HTTP Error Code,

My Problem Is as follows,This My Program URL http://localhost/Work/CustErr/Default.aspx,

When I alter The URL Like This http://localhost/Work/CustErr/Default2.aspx, I Can Able To Get The 404 Error, For Page Not Found,

When I Try This url http://localhost/Senthil/Work/CustErr/Default.asp Or http://localhost/Work/Custrr/Default.aspx both of the url are 404 error,but my program not caching this one,

Default IE Page Cannot Found Page is Displaying In The Browser, how can i over come this problem,

Need Help,

Thanks In Advance





Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom HTTP 404 Problem w/ASP to ASP.NET kwilliams ASP.NET 2.0 Professional 7 November 26th, 2007 04:17 PM
Exception handling in a custom control flegel ASP.NET 2.0 Professional 0 February 20th, 2007 10:26 AM
Error Handling zaeem Classic ASP Basics 2 November 14th, 2003 10:51 AM
Custom session handling dimitri p Pro PHP 2 July 31st, 2003 02:23 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.