Windbg: The call to LoadLibrary failed, Win32 error 0n193

While analyzing the managed process dump you may get the error as below:

The call to LoadLibrary(C:\Windows\Microsoft.NET\Framework64\v4.0.30319\sos) failed, Win32 error 0n193 
"%1 is not a valid Win32 application." 
Please check your debugger configuration and/or network access.

On of the major reason of this error could be :You might be debugging 64 bit process dump using  32 bit debugger. Try using the 64bit debugger. 

You can side by side install and use the 32 bit and 64 bit debugging tools for Windows.

Once you have chosen the correct Windbg version, first try executing the command 
.loadby sos clr
before starting your dump analysis.




No comments:

Post a Comment

Golang: Http POST Request with JSON Body example

Go standard library comes with "net/http" package which has excellent support for HTTP Client and Server.   In order to post JSON ...