Is it possible to capture all 500 errors in Classic ASP at a global level? Maybe something in IIS. I\'m using II6 at the moment. I like to capture the error message and th
Error handling in classic ASP is a complete pain. You can catch the error where you think it's going to occur using on error resume next, then check for the error code in the following line of code.
Alternately you can scan the server logs for 500 errors. or set up a "500 error" page in your IIS settings.
On Error Resume Next
... do something...
If Err.Number <> 0 Then
... handle error
end if