'Catch Error details on IIS Custom Error Page
Using web.config I configured IIS to redirect 500 errors to a custom page that is in my application.
<httpErrors errorMode="Custom">
<remove statusCode="500" />
<error statusCode="500" path="/Pages/ErrorPages/CustomError.asp" responseMode="ExecuteURL" />
</httpErrors>
This is working perfectly and it is redirecting to the mentioned classic asp page when there is a 500 error.
Now I want to capture the error details such as file path and line number from my custom error page, which shows on the standard error page when we set "Send errors To Browser" to TRUE and Error page features to "Detailed errors"
What are the methods I can use to solve this by configuring IIS and using javascript/jquery
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|



