且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

未处理的异常,导致应用程序与“EventType clr20r3,P1 w3wp.exe”崩溃在日志中,但没有细节

更新时间:2022-04-29 07:22:55

有时候,您可能会看到这个可怕的错误。 Windows事件日志:

Sometimes you may see this scary error in the Windows Event Log:


EventType clr20r3,P1 w3wp.exe,P2 6.0.3790.3959,P3 45d6968e,P4 dp.ui,P5 3.9。 7.55,P6 4b49a307,P7 62e,P8 0,P9 system.***exception,P10 NIL。

EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, P4 dp.ui, P5 3.9.7.55, P6 4b49a307, P7 62e, P8 0, P9 system.***exception, P10 NIL.

正如你所看到的,没有堆栈跟踪,并且您不知道P1,...,P10和任何数字。你知道最糟糕的部分是什么;唯一的事情,让你不睡觉,让你希望,如果它不是在日志,是的! dp.ui消息。

As you can see it is unclear and has no stack trace, and you don’t have any idea about P1, …, P10 and any numbers. You know which the worst part of that is; the only thing that make you not to sleep and make you wish if it wasn’t in the log, yes! The "dp.ui" message.

确定,除了所有的笑话和祝愿,当发生无限循环或方法调用时,会引发system.***exception,因此您应该检查所有源的任何递归方法调用,您可以启动Visual Studi来调试。但它是不可能和可行的,所有的时间,即使你的应用程序不是企业。所以你必须谷歌P1,...,P10。

OK, besides of all jokes and wishes, the exception "system.***exception" is raised when an infinite loop or method calling happen, so you should check all sources for any recursive method calling and you could fire up Visual Studi to debug that. But it is not possible and feasible all the time even if your application is not enterprise. So you have to google for P1, ..., P10. I did it instead of you, so just sit back and relax!

P1 :发生此错误的应用程式名称

P2 :应用程式版本

P3 :应用程式时间戳记
P4 :装配/模块名称

P5 :装配/模块版本

P6 :装配/模块时间戳记
P7 :MethodDef

P8 :IL偏移量

P9 :异常名称名称过长)

P1: application name that has occurred this error
P2: application version
P3: application time stamp
P4: Assembly/Module name
P5: Assembly/Module version
P6: Assembly/Module timestamp
P7: MethodDef
P8: IL offset
P9: exception name (hashed because the name is too long)

很显然,我们需要找到P7,P8。

It’s pretty obvious that we need to find P7, P8. IL Disassembler, a tool included in Visual Studio, will help us to do that.


  1. 执行IL Disassembler并打开您的库。
  1. Execute IL Disassembler, and open your library.
  2. Menu: view -> MetaInfo -> Show!, pay much attention to the check list of the menu, especialy Raw check boxes.
  3. A dialogue box will appear, search for combination 06000 with 62e and you will see the MethodName of the class and by looking up you will see the first TypeDef which declare the class. And that's all!

当你去你的应用程序,你可能会看到一个递归调用,你应该检查使这个循环退出的条件!

As you go to your application you may see a recursive calling and you should check the condition that makes this loop exit!

在Windows和服务应用程序中,此异常可能喜欢以下内容,您应该通过IL Disassembler检查sib.infobase.workflow.services.exe p>

In windows and service application this exception maybe likes the following and you should check "sib.infobase.workflow.services.exe" by "IL Disassembler":


EventType clr20r3,P1 sib.infobase.workflow.services,P2 1.0.2740.20114,P3 468a74f5,P4 sbpscs,P5 1.0.2740.20087,P6 468a74be ,P7 1c,P8 120,P9 zxkyzcs5wacordmkttdkr1xouosi00fr,P10 NIL。

EventType clr20r3, P1 sib.infobase.workflow.services, P2 1.0.2740.20114, P3 468a74f5, P4 sbpscs, P5 1.0.2740.20087, P6 468a74be, P7 1c, P8 120, P9 zxkyzcs5wacordmkttdkr1xouosi00fr, P10 NIL.

如果你在网上冲浪,准备:
http://support.microsoft.com/kb/911816 ,但可能无法正常处理此异常。

If you surf in the net you may see a solution like Microsoft has prepared: http://support.microsoft.com/kb/911816 , but it may be don’t work properly for this exception.


  1. http://www.netframeworkdev.com/common-language-runtime/clr20r3-from-a-windows-service-calling-a-dot-net-dll-32830.shtml

  2. http://social.msdn.microsoft.com/Forums/en-US/netfxtoolsdev/thread/ec36eff9-ac9f-46da-afa1-92be489d6a56

  1. http://www.netframeworkdev.com/common-language-runtime/clr20r3-from-a-windows-service-calling-a-dot-net-dll-32830.shtml
  2. http://social.msdn.microsoft.com/Forums/en-US/netfxtoolsdev/thread/ec36eff9-ac9f-46da-afa1-92be489d6a56