2012-07-09 47 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

相关问题