未能加载数据访问 DLL,0x80004005 [英] Failed to load data access DLL, 0x80004005

查看:35
本文介绍了未能加载数据访问 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.我用谷歌搜索了这个问题,但找不到工作答案.我用的是同一台机器,为什么windbg找不到它需要的东西?

After corflags.exe /32bit+ xxxx.exe to run on a 64bit server 2003, the xxxx.exe usually crash. I got this dump, on the same machine, install windbg(x86), but I can't use SOS. I googled this issue, but can't find work answer. I use the same machine, why windbg can't find what it need?

推荐答案

问题是找不到 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

The problem is that the correct version of mscordacwks.dll can't be located. The DLL acts as an abstraction layer between the runtime and SOS and thus it must correspond to the version of the runtime. There's an excellent write up of the problem and its solution here http://blogs.msdn.com/dougste/archive/2009/02/18/failed-to-load-data-access-dll-0x80004005-or-what-is-mscordacwks-dll.aspx

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

Make sure to follow the advice on renaming the DLL very carefully, cause if you get it wrong it doesn't work and the error messages are not very helpful imo.

这篇关于未能加载数据访问 DLL,0x80004005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆