Let IIS prompt mistakes more vivid (ASP)

xiaoxiao2021-03-06  93

Make an error in IIS more vivid (asp) Author: Sword westerly Read: 8 Time: 2004-10-13 Source: Network steadily default IIS 500-100.asp file error report only line numbers, which we find errors Still very troublesome this document is a modified 500-100.asp file, directly displaying the text of the wrong line, easy to find error <% @ language = "VBScript"%> <% option expend control const LNGMAXFORMBYTES = 200 Dim Objasperror, BlNerrorwritten, strServername, strServerIP, strRemoteIP Dim strMethod, lngPos, datNow, strQueryString, strURL If Response.Buffer Then Response.Clear Response.Status = "500 Internal Server Error" Response.ContentType = "text / html" Response.Expires = 0 End If Set Objasperror = server.getlasterror = server.getlasterror>