gpt4 book ai didi

tridion - 内容交付上的智能目标互操作引用不同的程序集

转载 作者:行者123 更新时间:2023-12-05 01:25:18 26 4
gpt4 key购买 nike

我正在尝试使用 Tridion 2011 SP1 和 Smart Target 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,Version=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 中添加依赖项绑定(bind)来告诉应用程序新程序集在哪里,但是有人知道为什么会发生这种情况吗?

最佳答案

关于tridion - 内容交付上的智能目标互操作引用不同的程序集,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11391927/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com