2011-05-27 33 views
2
  1. 我下載的是windows2003服務器符號從這裏http://msdn.microsoft.com/en-us/windows/hardware/gg463028是否可以在Windows XP上使用windbg調試win2003 IIS崩潰轉儲?

  2. 我做了什麼,這裏描述 - 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

另請參閱http://stackoverflow.com/q/1920712/38206 – 2011-05-29 17:18:26

回答

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服務器上的文件覆蓋計算機上的文件。 :)

+0

非常感謝。我已經找到了相同的博客,它的工作。當然我喜歡。 – 2011-05-27 15:37:28