错误在Page_Error事件中捕获,没有错误消息

时间:2011-11-07 19:11:22

标签: asp.net iis-7 asp-classic

我每天在我的网站上收到数百封这些错误电子邮件(如果有500个服务器错误,我会收到电子邮件)。问题是消息不是特别有用,我似乎无法重现它或看到它对访问者产生错误有什么影响。

完整错误消息的一个示例是:

  

错误消息:在Page_Error事件

中发生错误      

错误:http://www.scirra.com/forum/错误消息:堆栈跟踪:at   System.Web.CachedPathData.ValidatePath(String physicalPath)at   System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext的   上下文中)

     

服务器变量ALL_HTTP = HTTP_CONNECTION:keep-alive   HTTP_ACCEPT:text / html的,应用/ XHTML + xml的,应用/ XML; Q = 0.9, / 的; Q = 0.8   HTTP_ACCEPT_CHARSET:窗口-1251,UTF-8,Q = 0.7,*; Q = 0.7   HTTP_ACCEPT_ENCODING:gzip,deflate   HTTP_ACCEPT_LANGUAGE:RU-RU,如; Q = 0.8,EN-US; Q = 0.5,连接; Q = 0.3   HTTP_COOKIE:scirralVisit = LV = REMOVED ;   __utma = REMOVED ; __utmz = REMOVED .utmcsr = scirraconstruct.ru | utmccn =(引荐)| utmcmd =转诊| utmcct = /小区/博客/插件/ 281.html;   ASPSESSIONIDACTAQRCS = REMOVED ;   scirrasID = SID = REMOVED ;   __utmc = REMOVED ; __utmb = 已删除 HTTP_HOST:www.scirra.com HTTP_IF_NONE_MATCH:“”   HTTP_REFERER:HTTP://www.scirra.com/forum/plugin-network-v03a-update_topic43662_page3.html   HTTP_USER_AGENT:Mozilla / 5.0(Windows NT 5.1; rv:5.0)Gecko / 20100101   火狐/ 5.0

     

ALL_RAW =连接:keep-alive接受:   text / html的,应用/ XHTML + xml的,应用/ XML; Q = 0.9, / 的; Q = 0.8   Accept-Charset:windows-1251,utf-8; q = 0.7,*; q = 0.7 Accept-Encoding:   gzip,deflate Accept-Language:ru-ru,ru; q = 0.8,en-us; q = 0.5,en; q = 0.3   Cookie:scirralVisit = LV = REMOVED ;   __utma = REMOVED ; __utmz = REMOVED .utmcsr = scirraconstruct.ru | utmccn =(引荐)| utmcmd =转诊| utmcct = /小区/博客/插件/ 281.html;   ASPSESSIONIDACTAQRCS = REMOVED ;   scirrasID = SID = REMOVED ;   __utmc = REMOVED ; __utmb = 已删除 主持人:www.scirra.com If-None-Match:“”推荐人:   http://www.scirra.com/forum/plugin-network-v03a-update_topic43662_page3.html   User-Agent:Mozilla / 5.0(Windows NT 5.1; rv:5.0)Gecko / 20100101   火狐/ 5.0

     

APPL_MD_PATH = / LM / W3SVC / 1 / ROOT APPL_PHYSICAL_PATH =   C:\ Websites \ Scirra \ AUTH_TYPE = AUTH_USER = AUTH_PASSWORD = LOGON_USER   = REMOTE_USER = CERT_COOKIE = CERT_FLAGS = CERT_ISSUER = CERT_KEYSIZE = CERT_SECRETKEYSIZE = CERT_SERIALNUMBER = CERT_SERVER_ISSUER = CERT_SERVER_SUBJECT = CERT_SUBJECT = CONTENT_LENGTH = 0 CONTENT_TYPE =   GATEWAY_INTERFACE = CGI / 1.1 HTTPS =关闭HTTPS_KEYSIZE =   HTTPS_SECRETKEYSIZE = HTTPS_SERVER_ISSUER = HTTPS_SERVER_SUBJECT =   INSTANCE_ID = 1 INSTANCE_META_PATH = / LM / W3SVC / 1 LOCAL_ADDR =   84.45.57.1​​43 PATH_INFO = / forum / PATH_TRANSLATED = C:\ Websites \ Scirra \ forum \ QUERY_STRING = REMOTE_ADDR = REMOVED   REMOTE_HOST = 已删除 REMOTE_PORT = 3939 REQUEST_METHOD = GET   SCRIPT_NAME = / forum / SERVER_NAME = www.scirra.com SERVER_PORT = 80   SERVER_PORT_SECURE = 0 SERVER_PROTOCOL = HTTP / 1.1 SERVER_SOFTWARE =   Microsoft-IIS / 7.5 URL = / forum / HTTP_CONNECTION = keep-alive   HTTP_ACCEPT =   text / html的,应用/ XHTML + xml的,应用/ XML; Q = 0.9, / 的; Q = 0.8   HTTP_ACCEPT_CHARSET = windows-1251,utf-8; q = 0.7,*; q = 0.7   HTTP_ACCEPT_ENCODING = gzip,deflate HTTP_ACCEPT_LANGUAGE =   ru-ru,ru; q = 0.8,en-us; q = 0.5,en; q = 0.3 HTTP_COOKIE =   scirralVisit = LV = REMOVED ;   __utma = REMOVED ; __utmz = REMOVED .utmcsr = scirraconstruct.ru | utmccn =(引荐)| utmcmd =转诊| utmcct = /小区/博客/插件/ 281.html;   ASPSESSIONIDACTAQRCS = REMOVED ;   scirrasID = SID = REMOVED ;   __utmc = REMOVED ; __utmb = 已删除 HTTP_HOST = www.scirra.com HTTP_IF_NONE_MATCH =“”HTTP_REFERER =   http://www.scirra.com/forum/plugin-network-v03a-update_topic43662_page3.html   HTTP_USER_AGENT = Mozilla / 5.0(Windows NT 5.1; rv:5.0)Gecko / 20100101   火狐/ 5.0

     

此邮件中未找到病毒。由AVG检查 - www.avg.com版本:   2012.0.1869 /病毒数据库:2092/4602 - 发布日期:11/07/11

需要注意的是:

  • scirra.com/forum/是一款经典的ASP应用程序
  • 该网站的其余部分是ASP.net

任何人都可以帮助我更多地了解这条消息的含义吗?

1 个答案:

答案 0 :(得分:1)

就在前几天正在与类似的问题作斗争,罪魁祸首是用户生成的格式错误的网址。

enter image description here