我有一個裝配加載問題,當我從Vista(32位)轉換爲Windows 7(32位)時出現問題。當我嘗試加載一些非常舊的Sybase ASE ADO.NET數據提供程序DLLS時,會發生此問題。裝配加載問題
從融合日誌查看器日誌顯示此:
*** Assembly Binder Log Entry (18/01/2010 @ 5:00:38 PM) ***
The operation failed.
Bind result: hr = 0x80131018. No description available.
Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable c:\windows\system32\inetsrv\w3wp.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: User = NT AUTHORITY\NETWORK SERVICE
LOG: DisplayName = sybdrvado11
(Partial)
LOG: Appbase = file:///C:/dev/AgentDesktop/ui/newweb/
LOG: Initial PrivatePath = C:\dev\AgentDesktop\ui\newweb\bin
LOG: Dynamic Base = C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\newweb\f57489cf
LOG: Cache Base = C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\newweb\f57489cf
LOG: AppName = d293c3e5
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\dev\AgentDesktop\ui\newweb\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/newweb/f57489cf/d293c3e5/sybdrvado11.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/newweb/f57489cf/d293c3e5/sybdrvado11/sybdrvado11.DLL.
LOG: Attempting download of new URL file:///C:/dev/AgentDesktop/ui/newweb/bin/sybdrvado11.DLL.
LOG: Assembly download was successful. Attempting setup of file: C:\dev\AgentDesktop\ui\newweb\bin\sybdrvado11.dll
LOG: Entering download cache setup phase.
ERR: Error extracting manifest import from file (hr = 0x80131018).
ERR: Setup failed with hr = 0x80131018.
ERR: Failed to complete setup of assembly (hr = 0x80131018). Probing terminated.
我花的時間使用Google這樣那樣通過ASP.NET體現了錯誤信息公平一點,並沒有共同的解決辦法似乎相關。我注意到有一種方法可以使用病毒檢查程序導致此錯誤。是否有可能在原生Windows 7機器上執行此操作?即是否有任何類型的保護系統可能會干擾裝配?
這失敗在兩個VS.NET 2008年,並與2010 VS.NET Beta 2版
任何線索將不勝感激。
請注意,程序集加載程序找到程序集確定(我提到程序集+ DLL在Vista上工作正常),但有程序集清單問題:「從文件中提取清單導入時出錯」。這是讓我困惑的部分。 – 2010-01-18 21:26:08
可能需要查看/發佈加載工作的Vista機器上的融合日誌。 – Joe 2010-01-19 05:52:40