<%@ language="VBScript" %> <% Option Explicit 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 %> 无法显示该页

无法显示该页

您尝试访问的页面有问题,无法显示。

请尝试以下操作:

  • 与网站管理员联系,告知对方此 URL 地址出现了此错误。

HTTP 500.100 - 内部服务器错误: ASP 错误。
Internet Information Services


技术信息(针对支持人员)

  • 错误类型:
    <% Dim bakCodepage on error resume next bakCodepage = Session.Codepage Session.Codepage = 1252 on error goto 0 Response.Write Server.HTMLEncode(objASPError.Category) If objASPError.ASPCode > "" Then Response.Write Server.HTMLEncode(", " & objASPError.ASPCode) Response.Write Server.HTMLEncode(" (0x" & Hex(objASPError.Number) & ")" ) & "
    " If objASPError.ASPDescription > "" Then Response.Write Server.HTMLEncode(objASPError.ASPDescription) & "
    " elseIf (objASPError.Description > "") Then Response.Write Server.HTMLEncode(objASPError.Description) & "
    " end if blnErrorWritten = False ' Only show the Source if it is available and the request is from the same machine as IIS If objASPError.Source > "" Then strServername = LCase(Request.ServerVariables("SERVER_NAME")) strServerIP = Request.ServerVariables("LOCAL_ADDR") strRemoteIP = Request.ServerVariables("REMOTE_ADDR") If (strServerIP = strRemoteIP) And objASPError.File <> "?" Then Response.Write Server.HTMLEncode(objASPError.File) If objASPError.Line > 0 Then Response.Write ", line " & objASPError.Line If objASPError.Column > 0 Then Response.Write ", column " & objASPError.Column Response.Write "
    " Response.Write "" Response.Write Server.HTMLEncode(objASPError.Source) & "
    " If objASPError.Column > 0 Then Response.Write String((objASPError.Column - 1), "-") & "^
    " Response.Write "
    " blnErrorWritten = True End If End If If Not blnErrorWritten And objASPError.File <> "?" Then Response.Write "" & Server.HTMLEncode( objASPError.File) If objASPError.Line > 0 Then Response.Write Server.HTMLEncode(", line " & objASPError.Line) If objASPError.Column > 0 Then Response.Write ", column " & objASPError.Column Response.Write "
    " End If %>
  • 浏览器类型:
    <%= Server.HTMLEncode(Request.ServerVariables("HTTP_USER_AGENT")) %>

  • 页面:
    <% strMethod = Request.ServerVariables("REQUEST_METHOD") Response.Write Server.HTMLEncode(strMethod & " ") If strMethod = "POST" Then Response.Write Request.TotalBytes & " bytes to " End If Response.Write Server.HTMLEncode(Request.ServerVariables("SCRIPT_NAME")) Response.Write "
  • " If strMethod = "POST" Then Response.Write "

  • POST Data:
    " ' On Error in case Request.BinaryRead was executed in the page that triggered the error. On Error Resume Next If Request.TotalBytes > lngMaxFormBytes Then Response.Write Server.HTMLEncode(Left(Request.Form, lngMaxFormBytes)) & " . . ." Else Response.Write Server.HTMLEncode(Request.Form) End If On Error Goto 0 Response.Write "
  • " End If %>

  • 时间:
    <% datNow = Now() Response.Write Server.HTMLEncode(FormatDateTime(datNow, 1) & ", " & FormatDateTime(datNow, 3)) on error resume next Session.Codepage = bakCodepage on error goto 0 %>

  • 详细信息:
    <% strQueryString = "prd=iis&sbp=&pver=5.0&ID=500;100&cat=" & Server.URLEncode(objASPError.Category) & "&os=&over=&hrd=&Opt1=" & Server.URLEncode(objASPError.ASPCode) & "&Opt2=" & Server.URLEncode(objASPError.Number) & "&Opt3=" & Server.URLEncode(objASPError.Description) strURL = "http://www.microsoft.com/ContentRedirect.asp?" & strQueryString %>
    • 单击 Microsoft 支持,可以找到有关此错误的文章链接。
    • 转到 Microsoft 产品支持服务,执行标题搜索,查找词语 HTTP500
    • 打开 IIS 帮助(可从 IIS 管理器(inetmgr)访问),搜索主题网站管理关于自定义错误消息
    • 在 IIS 软件开发包(SDK)中,或者在 MSDN 联机库中,搜索主题调试 ASP 脚本调试组件调试 ISAPI 扩展功能和筛选器