avatar
P*s
1
Release version运行出错,event log里面有下面信息。
.NET Runtime 2.0 Error Reporting
EventType clr20r3, P1 oopsvrapp.exe, P2 4.1.1.1, P3 481f77d2, P4 mscorlib,
P5 2.0.0.0, P6 4333ab80, P7 1546, P8 21, P9 system.argumentoutofrange, P10
NIL.
这个P1...P10都是什么信息,有没有办法知道源程序里到底是哪一行(或者哪个函数)
出的错?还有,生成exe文件的时候同时产生.pdb文件了,知道.pdb里有debug信息,可
是.pdb是binary file。这个.pdb该怎么用?
谢谢。
avatar
c*t
2
The error is an example of an unhandled exception being thrown out of the ap
plication. You can make some sense of the error by implementing a handler fo
r the UnhandledException event on the current AppDomain that your applicatio
n is running in. This event will pass in the exception object that has been
thrown, so you can log it to the Event Viewer in a more meaningful fashion.

【在 P********s 的大作中提到】
: Release version运行出错,event log里面有下面信息。
: .NET Runtime 2.0 Error Reporting
: EventType clr20r3, P1 oopsvrapp.exe, P2 4.1.1.1, P3 481f77d2, P4 mscorlib,
: P5 2.0.0.0, P6 4333ab80, P7 1546, P8 21, P9 system.argumentoutofrange, P10
: NIL.
: 这个P1...P10都是什么信息,有没有办法知道源程序里到底是哪一行(或者哪个函数)
: 出的错?还有,生成exe文件的时候同时产生.pdb文件了,知道.pdb里有debug信息,可
: 是.pdb是binary file。这个.pdb该怎么用?
: 谢谢。

avatar
P*s
3
Thanks for the info. The problem is that the product was already released
and deployed at the customer site. Rebuild is not an option. Also the error
occurred very rarely (it happened just once after being deployed a year ago)
. Therefore even if rebuid is used as last resort, we may not catch it again
in short period of time.
I know in the old world of VC++, with the address and .map file, you can
narrow the error source down to a function (or line of code if you are lucky
). I am just wonderin

【在 c**t 的大作中提到】
: The error is an example of an unhandled exception being thrown out of the ap
: plication. You can make some sense of the error by implementing a handler fo
: r the UnhandledException event on the current AppDomain that your applicatio
: n is running in. This event will pass in the exception object that has been
: thrown, so you can log it to the Event Viewer in a more meaningful fashion.

avatar
k*i
4
deploy the pdb fiels on your production server

【在 P********s 的大作中提到】
: Release version运行出错,event log里面有下面信息。
: .NET Runtime 2.0 Error Reporting
: EventType clr20r3, P1 oopsvrapp.exe, P2 4.1.1.1, P3 481f77d2, P4 mscorlib,
: P5 2.0.0.0, P6 4333ab80, P7 1546, P8 21, P9 system.argumentoutofrange, P10
: NIL.
: 这个P1...P10都是什么信息,有没有办法知道源程序里到底是哪一行(或者哪个函数)
: 出的错?还有,生成exe文件的时候同时产生.pdb文件了,知道.pdb里有debug信息,可
: 是.pdb是binary file。这个.pdb该怎么用?
: 谢谢。

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。