Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to find module 'mscorwks.dll'

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?

like image 565
Yongwei Xing Avatar asked Sep 14 '09 06:09

Yongwei Xing


People also ask

What is mscorwks DLL?

Mscorwks.dll file, also known as Microsoft .NET Runtime Common Language Runtime - WorkStation, is commonly associated with Microsoft® .NET Framework. It is an essential component, which ensures that Windows programs operate properly. Thus, if the mscorwks.dll file is missing, it may negatively affect the work of the associated software.

What is WinDbg looking for in mscorwks?

It looks like WinDBG is looking for a dll INSIDE the mscorwks dll. 7,039 15 67 77 Looks like your analysing a .NET 2.0 assembly, but the loaded SOS is targeting .NET 4.0. Check out stackoverflow.com/questions/4373683/… Use the ".chain" command to see the order of extensions loaded.

What is the difference between mscorwks DLL and JIT?

The mscorwks.dll implements execution engine and native object, also calls mscorjit.dll (calls JIT). .NET application is executed mainly based on mscorwks.dll. Monday, April 23, 2007 6:39 AM All replies text/html4/19/2007 5:57:29 PMAaron B0 0 Sign in to vote

What is the difference between mscorwks and mscorsvr?

where mscorsvr is really really old (.NET CLR 1, server version), mscorwks is quite old (.NET CLR 1 and 2, but still around) , clr is common today (.NET CLR 4), coreclr might be increasing (UWP and Silverlight) and <somethingelse> is annoying (look at lm and find something that looks similar but has a number attached).


Video Answer


1 Answers

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!!

like image 172
Sixto Saez Avatar answered Sep 30 '22 19:09

Sixto Saez