
September 29th, 2010, 06:14 AM
|
|
Registered User
|
|
Join Date: Sep 2010
Posts: 3
Time spent in forums: 26 m 21 sec
Reputation Power: 0
|
|
|
Creating Error status code
Hi...
I want to create error statuscode for errors.....
to use it in web config file which redirects to custom error page in the case of generation that particular error....
example
web.config
<customErrors mode="On" defaultRedirect="Default2.aspx">
<error statusCode="20(my error statuscode)"
redirect="custom error page" />
</customErrors>
|