我試圖在Windows 7 x64上調試.NET 4 32位(在項目選項中明確設置)WinDbg應用程序步驟如下:Windows 7 x64上的WinDbg x86 .NET 4應用程序:無法加載數據訪問DLL,0x80004005
- 開始我的應用程序(讓它成爲foo.exe的)上WINDBG.EXE
- 附加到foo.exe的
- 開始x86版
- .loadby SOS CLR
- ! dumpheap -stat
後,我得到這樣的:
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 clr.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.
有什麼不對? 我搜查了很多..這個問題看起來是關於內存轉儲:Failed to load data access DLL, 0x80004005 但我試圖調試正在運行的應用程序。
您鏈接到的問題是相同的問題。請參閱第2點。你有沒有安裝.NET 4.5? – leppie
另外,假設你有windbg> = v6.2.14? – Iridium