【问题标题】:Failed to load data access DLL, 0x80004005加载数据访问DLL失败,0x80004005
【发布时间】:2009-12-17 10:14:47
【问题描述】:
0:025> !pe
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.

corflags.exe /32bit+ xxxx.exe 在 64 位服务器 2003 上运行后,xxxx.exe 通常会崩溃。我得到了这个转储,在同一台机器上安装了 windbg(x86),但我不能使用 SOS。我用谷歌搜索了这个问题,但找不到工作答案。我用的是同一台机器,为什么windbg找不到需要的?

【问题讨论】:

  • 0:025> .cordll -ve -u -l CLR DLL 状态:无加载尝试 0:025> .reload ... DBGHELP: wow64 - 公共符号 c:\symbols\wow64.pdb \8CF620FBD00B4E6B8D103F57D11D79521\wow64.pdb .......................警告:mscorjit 与 mscoree 重叠...... .............警告:wldap32 与 dnsapi 重叠 ........ ..警告:rasapi32 与 dnsapi 重叠 ...警告:tapi32 与 rasapi32 重叠。警告:rtutils 与 rasman 重叠 .. ..........警告:setupapi 与 winsta 重叠 .... DBGHELP:ntdll - 公共符号 c:\symbols\ntdll.pdb\7ECDDF018BEF40068136BF66574633B32\ntdll.pdb

标签: windbg sos


【解决方案1】:

问题是找不到正确版本的mscordacwks.dll。 DLL 充当运行时和 SOS 之间的抽象层,因此它必须对应于运行时的版本。在http://blogs.msdn.com/dougste/archive/2009/02/18/failed-to-load-data-access-dll-0x80004005-or-what-is-mscordacwks-dll.aspx

这里有一篇关于问题及其解决方案的精彩文章

确保非常仔细地遵循重命名 DLL 的建议,因为如果你弄错了它就不起作用,而且错误消息对 imo 没有多大帮助。

【讨论】:

  • 非常感谢您的帮助。最后,我用这个命令帮助: 0:025> !load wow64exts 0:025> !sw 这样做后切换到32bit模式,我可以使用SOS了。再次感谢:)
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-02-28
  • 2012-12-21
  • 2012-12-29
  • 2020-09-01
  • 2019-07-10
  • 2015-10-14
相关资源
最近更新 更多