-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Pooran-Prasad
Message 3 in Discussion
Dinesh,
There are many ways to avoid showing
the stack trace to the user :)
To get started...
check http://www.aspalliance.com/aspxtreme/aspnet/syntax/customerrorssection.aspx
That happens to be one of the
solution! Try plethora of other options ...
http://www.devx.com/codemag/Article/16708/0/page/1
Have a great day :)
Pooran
R. Pooran Prasad
Itreya Technologies Pvt Ltd.,
Mail:
[EMAIL PROTECTED]
Phone(Off) :
5200179/80/81/82/83 Extn: 50
Mobile: +91 98860 29578
-----Original Message-----
From: dinesh_gr
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24,
2003 7:55 PM
To: BDOTNET
Subject: Redirecting to Custom
Error Pages
New Message on BDOTNET
Redirecting to Custom Error Pages
Reply
Reply to Sender Recommend
Message 1 in
Discussion
From: dinesh_gr
HI Group,
If i have some File Not Found Error 404, then
i am redirecting to WebForm2.aspx. I am doing that in
the Web Config...
<customErrors
mode="On">
<error
statusCode="404"
redirect="WebForm2.aspx"/>
</customErrors>
It is working fine, but some more content is getting
appended to the URL like.
http://localhost/Deployment/WebForm2.aspx?aspxerrorpath=/Deployment/Test.aspx.
How to get rid of this..
and if there is any database connection error or some other
specific errors, how do i get the (<error sttusCode="404" > ) so that
i
can redirect to the appropriate page....
Hope i am clear with my
problem...
-Dinesh.
View other groups in this
category.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
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.
mailto:[EMAIL PROTECTED]