Unable to find module ‘mscorwks’

When you are trying to run “.loadby sos mscorwks.dll ” and get error Unable to find module ‘mscorwks’ then the most probable issue might be that your debugger is trying to break into the app before CLR is loaded. in that case you can run

sxe ld:mscorlib
and then
.loadby sos mscorwks.dll

and it will work.

other thing to notice is if you are having .Net framework 4.0 app then you should use
.loadby sos clr

Leave a Reply

Your email address will not be published. Required fields are marked *