We are in the process of migrating an ASP Classic / ASP.NET application from IIS 6 to IIS 7.5. Most of them work fine in classic mode, but we have a lot of problems with how IIS 7.5 errors are handled. We report errors using the classic ASP page, where we capture the error information here, and then redirect the page to display the error. Based on our testing, Server.GetLastError and Request.ServerVariables("SCRIPT_NAME") do not return error information and the source when accessed from the logging page. Are there any other ways to get error information in IIS 7.5 or register?
In case this helps, using freb, we noticed that IIS seems to generate a completely new request, then it starts to handle our error capture.
Thanks in advance.
source share