在较新版本的Windows 10上运行时,.NET Clr.dll出现故障 [英] Fault in .NET Clr.dll when running on newer version of windows 10

查看:892
本文介绍了在较新版本的Windows 10上运行时,.NET Clr.dll出现故障的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一些较旧的自定义.Net应用程序,这些应用程序已经在Windows 7和Windows 10上运行很多年了。 


我们推出的新一批机器有一个稍微更新的Windows 10安装,这导致应用程序在CLR.dll中崩溃。  


我尝试将应用程序迁移到最新的框架版本。 即使在.Net版本4.7.2556下,它仍会在不同时间产生同样的异常。 它间歇性但似乎总是发生在这些新的Windows 10机器上。
  



用户获取的唯一错误消息是应用程序已停止工作。 但是看了一下windows事件日志,我发现了以下内容......


当应用程序在CLR.dll中崩溃时会显示以下信息。 



错误模块名称:clr.dll,版本:4.7.2556.0,时间戳:0x59b8358d

异常代码:0xc00000fd

故障偏移:0x0000000000033a68

错误进程ID:0x1e94



我们没有在任何这些较新的计算机上安装visual studio,并且我们无法在开发盒上重现错误,因为它们较旧。  


所以我想知道如何最好地调试或解决框架问题.dll

解决方案

< blockquote>

嗨Ron Carlson Dupage,


感谢您发布此处。


如有异常,请查看适合您应用的CLR版本。


>> 当应用程序使用以下信息在CLR.dll中崩溃时。 


您是否在配置中设置了CLR版本? 


请尝试以下方法。


https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-configure-an-app-to-support-net-framework-4-or-4- 5 


这是你的r的类似线程eference。


https://stackoverflow.com/questions/22620921/installing-assemblies-for-clr-2-0-and-clr-4-0-programically


最诚挚的问候,


Wendy


We have some older custom .Net applications, which have been running on both windows 7 and windows 10 just fine for many years. 

The newer batch of machines we have been rolling out have a slightly newer windows 10 install, which is causing application crashing in the CLR.dll.  

I've tried migrating the application up to the newest framework versions.  And even under .Net version 4.7.2556, it still yields this same exception at various times.  Its intermittent but always seems to happen on these newer windows 10 machines.   

The only error message the user gets is application has stopped working.  But looking at the windows event log I've found the following..

When the application crashes its in the CLR.dll with the following information. 

Faulting module name: clr.dll, version: 4.7.2556.0, time stamp: 0x59b8358d
Exception code: 0xc00000fd
Fault offset: 0x0000000000033a68
Faulting process id: 0x1e94

We don't have visual studio installed on any of these newer computers, and we can't reproduce the error on the development boxes as they are older.  

So I'm wondering how best to debug or resolve this issue with the framework .dll

解决方案

Hi Ron Carlson Dupage,

Thank you for posting here.

For the exception, please check the CLR version for your application.

>>When the application crashes its in the CLR.dll with the following information. 

Have you set the CLR version in Configuration? 

Try the ways below.

https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-configure-an-app-to-support-net-framework-4-or-4-5 

Here is a similar thread for your reference.

https://stackoverflow.com/questions/22620921/installing-assemblies-for-clr-2-0-and-clr-4-0-programmatically

Best Regards,

Wendy


这篇关于在较新版本的Windows 10上运行时,.NET Clr.dll出现故障的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆