Posted on: 6/3/2013 9:13:10 AM | Views : 379

Hi,
I am currently trying to redirect default error codes to a custom error page. I am having a problem redirecting a 403 error. The application is written in asp.net running on iis 7.5.
Using this url I am able to get the error:
 www.site.com/..%5CStorage%5CDocuments%5C8849145d-174a-41ab-9676-0ae19d6ab74
HTTP Error 403. The request URL is forbidden.
I have set up custom errors in my web.config and looked at them in the iis configuration and cannot seem to eridicate this problem. The relevant web.config is below:
<httpErrors existingResponse="Replace" defaultResponseMode="Redirect" errorMode="Custom"> <remove statusCode="404" /> <error statusCode="404" path="/ErrorPages/Oops.aspx" responseMode="Redirect"/> <remove statusCod ...

Go to the complete details ...