Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NewBie question about windbg

17 views
Skip to first unread message

whunmr

unread,
Sep 8, 2009, 9:44:45 AM9/8/09
to
Hi All,

When debugging a Managed Crash dump file, windbg shows "Failed to
load data access DLL".
but when execute command ".cordll", shows the mscordacwks.dll was
already loaded.

newbie questions:
1. "data access DLL" means mscordacwks.dll?
2. What should i do now to continue this debugging?

Thanks in advance.

=================================
0:000> .load sos
0:000> !clrstack
Failed to load data access DLL, 0x80004005
Verify that 1) you have a recent build of the debugger (6.2.14 or
newer)
2) the file mscordacwks.dll that matches your version of
mscorwks.dll is
in the version directory
3) or, if you are debugging a dump file, verify that the
file
mscordacwks_<arch>_<arch>_<version>.dll is on your
symbol path.
4) you are debugging on the same architecture as the dump
file.
For example, an IA64 dump file must be debugged on an
IA64
machine.

You can also run the debugger command .cordll to control the
debugger's
load of mscordacwks.dll. .cordll -ve -u -l will do a verbose reload.
If that succeeds, the SOS command should work on retry.

If you are debugging a minidump, you need to make sure that your
executable
path is pointing to mscorwks.dll as well.
0:000> .cordll -ve
CLR DLL status: Loaded DLL C:\Windows\Microsoft.NET\Framework
\v2.0.50727\mscordacwks.dll
0:000> .cordll -ve -l -u
CLR DLL status: No load attempts
0:000> !clrstack
CLRDLL: Loaded DLL C:\Windows\Microsoft.NET\Framework
\v2.0.50727\mscordacwks.dll
Failed to load data access DLL, 0x80004005
Verify that 1) you have a recent build of the debugger (6.2.14 or
newer)
2) the file mscordacwks.dll that matches your version of
mscorwks.dll is
in the version directory
3) or, if you are debugging a dump file, verify that the
file
mscordacwks_<arch>_<arch>_<version>.dll is on your
symbol path.
4) you are debugging on the same architecture as the dump
file.
For example, an IA64 dump file must be debugged on an
IA64
machine.

You can also run the debugger command .cordll to control the
debugger's
load of mscordacwks.dll. .cordll -ve -u -l will do a verbose reload.
If that succeeds, the SOS command should work on retry.

If you are debugging a minidump, you need to make sure that your
executable
path is pointing to mscorwks.dll as well.
0:000> .cordll
CLR DLL status: Loaded DLL C:\Windows\Microsoft.NET\Framework
\v2.0.50727\mscordacwks.dll
=================================

whunmr

unread,
Oct 14, 2009, 1:16:48 PM10/14/09
to
Cause: Debugging dump file of wow64 applications on 64bit machine.
finally i found the solution for my case.

1.
.load wow64exts

2.
!sw

3. do whatever want!

see hunmr.blogspot.com for more.

Matt Duguid

unread,
Nov 2, 2009, 6:28:01 PM11/2/09
to
Thanks this helped me debug a 32 bit IIS worker process (w3wp.exe) that was
running on a 64 bit platform.

--
Matt Duguid


"whunmr" wrote:

> .
>

0 new messages