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

前端 未结 6 1467
青春惊慌失措
青春惊慌失措 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:54

    This is what worked for me:

    Download the following DLLs:

    • clr.dll
    • mscordacwks.dll
    • SOS.dll

    from this folder on the machine that generated the dump:

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319

    Run the following command. The path to SOS.DLL should be without quotes, unescaped path delimiters:

    .load path to downloaded SOS.DLL

    I think a new WinDbg session is required for this to work.

提交回复
热议问题