惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
S
SegmentFault 最新的问题
MyScale Blog
MyScale Blog
有赞技术团队
有赞技术团队
V
Visual Studio Blog
T
The Blog of Author Tim Ferriss
爱范儿
爱范儿
Vercel News
Vercel News
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
D
DataBreaches.Net
美团技术团队
Microsoft Security Blog
Microsoft Security Blog
大猫的无限游戏
大猫的无限游戏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
酷 壳 – CoolShell
酷 壳 – CoolShell
GbyAI
GbyAI
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
The Cloudflare Blog
宝玉的分享
宝玉的分享
V
V2EX
Microsoft Azure Blog
Microsoft Azure Blog

博客园 - fredli2005

全栈 2014年价值观察股票 突破45日线后,第一目标14.41(待验证) 【转】从开发者的角度看待各移动平台 ios/android/wp7/win8ost title 放弃移动版Flash而非AIR 从软件巨头发展看清未来的方向 通达信5分钟数据整理 看文章《EAI和SOA的比较》有感(1) Ext.data.PageMethodHttpProxy el.ownerDocument.createRange Error - fredli2005 - 博客园 Aop的一些资料 .net工具集 Log4net查看器 - fredli2005 - 博客园 概念数据模型,逻辑数据模型,物理数据模型(转) 快速命令行 powerdesigner15 与vs2008的冲突(解决篇) 在win server 2008中配置stockTrader postSharp 学习一 关于text-overflow(一种省略文字的方式)
w3wp意外终止
fredli2005 · 2009-04-06 · via 博客园 - fredli2005

今天跟踪了一个客户问题,在操作系统一段时间后,就会长时间的等待,后来查看日志显示w3wp出现的错误并终止了程序。

在事件查看器中显示只有条错误信息,而且还是.Net Runtime2.0的:

image

内容如下:

EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.1830, P3 42435be1, P4 webframeworkexceptiondebug, P5 1.0.0.0, P6 49d8d7d7, P7 3, P8 8, P9 system.indexoutofrangeexception, P10 NIL.

绿色标识的是异常信息,但是没有堆栈信息不号跟踪。查找了一些资料,由于.ner framework2.0原始版的设计原因,导致了asp.net没有显示出具体的出错信息。

设置IHttpModule输出提示信息

    <httpModules>
      <add name="HelloWorldModule" type="WebMonitor.HelloWorldModule,WebMonitor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2fba8f3f791adbcc" />
            <add name="UnhandledExceptionModule123" type="WebMonitor.UnhandledExceptionModule,WebMonitor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2fba8f3f791adbcc"/>
        </httpModules>

webMonitor.dll

webMonitorsource.rar