windbg – 无法加载数据访问DLL,0x80004005

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.我google了这个问题,但找不到工作答案.我用同一台机器,为什么windbg找不到需要什么?

问题是无法找到正确版本的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.

相关文章

Windows2012R2备用域控搭建 前置操作 域控主域控的主dns:自...
主域控角色迁移和夺取(转载) 转载自:http://yupeizhi.blo...
Windows2012R2 NTP时间同步 Windows2012R2里没有了internet时...
Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...