VJs Tip Of The Day
Reply
![]() |
|
From:
![]() VishalRJoshi
|
Error Redirection in case of Html or ASP Pages
I am not sure how many of you remember our old tip in the month of June... It was about the way to set Error Redirection page from web.config and how SmartNavigation options makes it goes crazy and work around for that... (http://vishaljoshi.blogspot.com/2004/06/mvp-tip-of-day-june-21st-2004.html) ...
What I wanted to add on to that tip today was that the settings that you do in the web.config files do not work for any .htm or .asp pages... i.e. If a user requests an .htm or .asp page which is not available then your setting statuscode="404" redirect="pagenotfound.htm" in the webconfig will not work for that you will have to go within IIS metabase to configure the same.
The other interesting fact here is that if you did a xcopy deployment of your application then these settings which you did in the IIS, will have to be manually copied to the deployment web server... Vishal Joshi Microsoft MVP .Net If You Think YOU CAN... You Can... http://VishalJoshi.Blogspot.com http://www.microsoft.com/india/mvp/indiamvp.aspx http://groups.msn.com/ChennaiNetUserGroup http://groups.msn.com/CNUG-DAM http://groups.msn.com/NetBloomingtonUserGroup
PS: When things don't turn out the way you want them to be try and think "Today is the first day of the rest of my life... Let me start afresh with new determination and vigor..."
|
|
View other groups in this category.
![]() |
To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.
If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.
|
|
- Re: VJs Tip Of The Day VishalRJoshi
-