Problem 1

So here is the scenario.  You open a dump from when you were experiencing a problem and try to run an SOS command and you see:

0:024> !dumpheap -stat
Cannot get the ThreadStore, do you have symbols 
for the mscorwks/mscorsvr files?

What could be going on here?  Any suggestions on how to fix this?

Problem 2

Also, since we are talking about this, what about this error:

0:024> !dumpheap -stat
Failed to find runtime DLL (mscorwks.dll), 0x80004005
Extension commands need mscorwks.dll in order 
to have something to do.

As always, post your thoughts in comments and I’ll turn them on and post the solution tomorrow.

kick it on DotNetKicks.com