我从这里http://msdn.microsoft.com/en-us/windows/hardware/gg463028
我做了这里描述的内容 - http://blogs.msdn.com/b/johan/archive/2007/11/13/getting-started-with-windbg-part-i.aspx。但是当我尝试运行时,它会说
0:024> !threadpool 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___.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 :(得分:1)
这是因为您的计算机上的.net版本与服务器不同。我的意思是.net 3.5 vs 4.0,我的意思是版本a.b.c.d.dll vs e.f.g.h.dll。
您需要从windows2003服务器获取c:\ windows \ microsoft.net \ framework \ v2.0.50727 \ mscordacwks.dll的副本。
然后,请按照此帖中的步骤操作:http://blogs.msdn.com/b/dougste/archive/2009/02/18/failed-to-load-data-access-dll-0x80004005-or-what-is-mscordacwks-dll.aspx。
首先尝试:
!sym noisy
.symfix c:\mylocalsymcache
.cordll -ve -u -l
如果这不起作用,则您将重命名mscordacwks.dll文件,将其复制到计算机上指定的符号位置,然后重试。
请不要使用Windows 2003服务器上的文件覆盖计算机上的文件。 :)