No CLR runtime found error after calling dumpheap -stat

500 views Asked by At

enter image description hereERROR: No CLR runtime found. This means that a .NET runtime module or the DAC for the runtime can not be found or downloaded.

Hello when I try to analyze memory dump of a running process:

I run following commands on windows terminal> dotnet-dump analyze C:\Users\Admin\dump_20231108_113908.dmp and dumpheap -stat

1

There are 1 answers

0
Jamezor On

I got this exact error because my dump was a 64bit dump of a 32bit process.

In my case, the process was c:\windows\syswow64\w3wp.exe (i.e. 32bit IIS running on 64bit Windows).

The fix was to take the dump from a 32bit process: close any existing Task Manager instances, run c:\windows\syswow64\taskmgr.exe, and use that to take the dump. This fixed the issue for me.