2012-07-09 52 views
4

我正在嘗試使用Tridion 2011 SP1和智能目標2010 SP1安裝新的.NET應用程序。到目前爲止,我已經拿到了網站/服務器角色/配置中的所有設置,但在瀏覽器中我得到以下錯誤智能目標交互引用不同的程序集

Could not load file or assembly 'Tridion.ContentDelivery, Version=6.0.0.481, Culture=neutral, PublicKeyToken=ddfc895746e5ee6b' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'Tridion.ContentDelivery, Version=6.0.0.481, Culture=neutral, PublicKeyToken=ddfc895746e5ee6b' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 

Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.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 = Tridion.ContentDelivery, Version=6.0.0.481, Culture=neutral, PublicKeyToken=ddfc895746e5ee6b 
(Fully-specified) 
LOG: Appbase = file:///C:/Websites/Live/malvern.com.en/ 
LOG: Initial PrivatePath = C:\Websites\Live\malvern.com.en\bin 

調用組件運行的網站時:Tridion.SmartTarget.Interop,版本= 1.0.1.0 ,Culture = neutral,PublicKeyToken = ddfc895746e5ee6b。

LOG: This bind starts in default load context. 
LOG: Using application configuration file: C:\Websites\Live\malvern.com.en\web.config 
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config. 
LOG: Post-policy reference: Tridion.ContentDelivery, Version=6.0.0.481, Culture=neutral, PublicKeyToken=ddfc895746e5ee6b 
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/8694a1d7/ddf129e2/Tridion.ContentDelivery.DLL. 
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/8694a1d7/ddf129e2/Tridion.ContentDelivery/Tridion.ContentDelivery.DLL. 
LOG: Attempting download of new URL file:///C:/Websites/Live/malvern.com.en/bin/Tridion.ContentDelivery.DLL. 
WRN: Comparing the assembly name resulted in the mismatch: Minor Version 
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated. 

我檢查的網站bin目錄,發現它使用了Tridion.ContentDelivery.dll參考(v6.1.0.348) - 這是用來對網站的開發版本,並一起工作目標聰明。然而,使用Fusion日誌記錄和反射Tridion.SmartTarget.Interop.dll試圖找到Tridion.ContentDelivery.dll v6.0.0.481 - 這是從Tridion 2011而不是Tridion 2011 SP1可用

我可能會在依賴關係綁定該web.config告訴應用程序在哪裏新的程序集,但任何人都知道爲什麼會發生這種情況?

回答

5
+0

你好理查德, 同時預覽,我們所得到的是同樣的錯誤,我們已經將所需的dll複製到GAC。 – 2012-09-18 06:31:59

相關問題