I am trying to diagnose a problem with a site that seems to be causing a code error somewhere. From the error logs, it seems SQL syntax error caused by poor concatenation of SQL query with bad code. My problem is that I cannot reproduce the error, but the clients are still getting it, and this may be the reason for several requests. So my plan is to create my own 500 error page to catch the result.
I want the page to catch all session data, all POST and GET data (what can I do), but I also want to get detailed error information. Quite a lot of what will be displayed on the page when the site allows you to display errors. With a small arrow indicating a line.
Is there a way to catch an error on a custom 500 error page?
Thanks in advance
Grant
iis iis-7 asp-classic
Greg smith
source share