wpf 应用程序因事件名称 CLR20r3 而崩溃?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26623084/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 12:39:47  来源:igfitidea点击:

Application crashed with event name CLR20r3?

c#c++wpfvisual-studio-2013

提问by TTGroup

My application crashed on customer's machine with the following message My application use WPF, C# and C++.

我的应用程序在客户的机器上崩溃并显示以下消息我的应用程序使用 WPF、C# 和 C++。

Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01: mysticserver.exe
  Problem Signature 02: 1.0.0.0
  Problem Signature 03: 544d0baf
  Problem Signature 04: PresentationCore
  Problem Signature 05: 4.0.30319.17929
  Problem Signature 06: 4ffa6e63
  Problem Signature 07: 283
  Problem Signature 08: 13
  Problem Signature 09: PSZQOADHX1U5ZAHBHOHGHLDGIY4QIXHX
  OS Version:   6.2.9200.2.0.0.256.48
  Locale ID:    1033
  Additional Information 1: 5a52
  Additional Information 2: 5a5202200b903e0c10739d8f4ac14d23
  Additional Information 3: 673b
  Additional Information 4: 673b5a7aa113d7eec5a03fb51cac71b0

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=190175

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

Someone can tell me, how to determine the error?

有人可以告诉我,如何确定错误?

UPDATE:

I'm sure that on the client machine, that installed .Net 4.5 full packagethe same .net version with all project configurations. And the machine client installed Microsoft Visual C++ Redistributable for Visual Studio 2013.

我确定在客户端机器上安装.Net 4.5 full package了相同的 .net 版本和所有项目配置。和机器客户端安装Microsoft Visual C++ Redistributable for Visual Studio 2013

I'm using visual studio 2013to develop the application.

我正在使用visual studio 2013开发应用程序。

Many thanks!

非常感谢!

回答by Bizhan

It can be caused either by some registry errorswhich can be fixed by running a registry clean up software or entering the following commands:

它可能是由某些注册表错误引起的,这些错误可以通过运行注册表清理软件或输入以下命令来修复:

regsvr32 atl.dll
cd C:\WINDOWS\eHome
ehSched /unregServer
ehSched /service
ehRecvr /unregServer
ehRecvr /service
ehRec.exe /unregServer
ehRec.exe /regserver
ehmsas.exe /unregServer
ehmsas.exe /regserver

Or caused by a mismatched version of .Net framework (sometimes client version doesn't work and you have to install the full version) or other prerequisites. Try re-installing .Net framework.

或者由不匹配的 .Net 框架版本(有时客户端版本不起作用,您必须安装完整版本)或其他先决条件引起。尝试重新安装 .Net 框架。

If the problem lingers after that, it might be something wrong with OS.

如果此后问题仍然存在,则操作系统可能有问题。