What to do with “The version of SOS does not match the version of CLR you are debugging” in WinDbg?

前端 未结 6 1463
青春惊慌失措
青春惊慌失措 2020-12-02 13:03

I\'m having a problem with some of my apps. It\'s a wcf-based app running under IIS6 in Windows 2003 Server (x86):
In Event Log I get such an error from \"W3SVC-WP\" sou

6条回答
  •  悲&欢浪女
    2020-12-02 13:43

    WinDbg will not be able to use the debugging adapter mscordacwks.dll unless it is the same version as the one from the original machine. You can get around this error by copying this DLL from the target machine which generated the dump to your Debugging Tools for Windows directory.

    We debug .NET 2.0 applications with WinDbg. We would continually get this same error regarding mscordacwks_x86_x86_2.0.50727.3615.dll. I had to copy this file from the server onto my client and put it in the C:\Program Files\Debugging Tools for Windows (x86)\ folder. WinDbg stopped complaining after that.

    If all else fails, you can try debugging with WinDbg on the same server from which you retrieved the crash dump.

提交回复
热议问题