Unable to find module 'mscorwks.dll'

Yongwei Xing picture Yongwei Xing · Sep 14, 2009 · Viewed 23.9k times · Source

I try to use the winDBG to debug a dump file. When I run .loadby sos mscorwks.dll

It gave me an error message. Unable to find module 'mscorwks.dll'

Has anyone seen this before?

Answer

Sixto Saez picture Sixto Saez · Oct 4, 2011

If you are debugging a .NET 4.0 application, you need to use the following instead of mscorwks:

.loadby sos clr

Here is a good overview of the commands available for different versions of the FULL .NET framework. Enjoy!!