4

.NET EXE 应用程序在启动时崩溃。

事件记录到事件日志:

EventType clr20r3,P1 erxkab1r2c2ibqtnnxtpzrumqv3gqlpl,P2 1.0.2.0,P3 4f4b95e0,P4 mscorlib,P5 2.0.0.0,P6 4a7ce2b8,P7 f8b,P8 80,P9 system.io.filenotfoundexception,P10 NIL。

破译参数(StackoverflowMSDN)产生:

  • exe文件名erxkab1r2c2ibqtnnxtpzrumqv3gqlpl
  • exe版本1.0.2.0
  • exe文件时间戳4f4b95e0
  • 大会名称mscorlib
  • 错误的程序集版本2.0.0.0
  • 错误装配时间戳4a7ce2b8
  • 错误组装方法定义f8b
  • 故障方法偏移80
  • 异常类型system.io.filenotfoundexception
  • ???NIL

现在我只需要弄清楚程序集erxkab1r2c2ibqtnnxtpzrumqv3gqlpl是什么。

我假设它是一个知名集会的公共令牌——除了我不知道它是什么。


我尝试运行以下

C:\WINNT>dir *erxkab* /s
 Volume in drive C has no label.
 Volume Serial Number is E0E5-1C1A
File Not Found

希望它WinSxS作为并排公共令牌文件名位于文件夹中的某个位置。

注意:请记住,这是一个客户端应用程序(即.exe),而不是 ASP.net 网站。

4

2 回答 2

0

Generally the file not found clr20r3 just means it's trying to load a reference it can't find.

For me this was completely unrelated to the named executable. Instead it turned out to be a missing library in a referenced project which was not copied to the target environment. I solved this in my case by the following.

  • Verify that the target machine is on all the same versions of .NET as my build machine
  • Set all non-system.* libraries to CopyLocal: True.
  • Check all dependent projects as well for libraries.

You can have more trouble if it's a third party library causing this. If that is the case I suggest removing references one by one until you find the offending library. Unfortunately if there's a dependency that's not detected this will not tell you the file that you're missing directly. But if you identify the library responsible, then you may be able to then determine dependency.

于 2012-05-29T13:24:42.643 回答
0

它是托管过程本身。这意味着它(很可能*)是您正在启动的可执行文件。您实际启动的是哪个应用程序?

*它也可能是从主应用程序在新应用程序域中启动的可执行文件。

于 2012-05-24T06:20:28.807 回答