The version of SOS does not match the version of CLR you are debugging

Posted 50614090

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The version of SOS does not match the version of CLR you are debugging相关的知识,希望对你有一定的参考价值。

分析dump文件时,由于客户生产环境与分析dump文件的环境不一致,常常会出现下面的错误

The version of SOS does not match the version of CLR you are debugging. Please
load the matching version of SOS for the version of CLR you are debugging.
CLR Version: 4.0.30319.34209
SOS Version: 4.7.2650.0

问题原因:客户生产环境的net版本是4.0.30319.34209,但分析环境的net版本是4.7.2650.0,二个环境的版本不一致。

解决方案:从客户生产环境(C:\Windows\Microsoft.NET\Framework64\v4.0.30319)拷贝这clr.dll,mscordacwks.dll,SOS.dll 这三个组件

替换到分析环境Symbol File Path路径,重新打开windbg,就正常了。

 

以上是关于The version of SOS does not match the version of CLR you are debugging的主要内容,如果未能解决你的问题,请参考以下文章

IDE报错 hdc_std version of the SDK does not match the hdcd version of the device.

IDE报错 hdc_std version of the SDK does not match the hdcd version of the device.

java compiler level does not match the version of the installed java project

Java compiler level does not match the version of the installed

Java compiler level does not match the version of the installed Java project fac

解决java compiler level does not match the version of the installed java project facet