gpt4 book ai didi

tridion - 将 Tridion 2009 事件系统迁移到 Tridion 2011 SP1 时出错

转载 作者:行者123 更新时间:2023-12-02 10:26:00 29 4
gpt4 key购买 nike

将现有的 Tridion 2009 事件 DLL(在 2011 服务器上编译)添加到 bin 目录并在 Content Manager 配置文件中注册 DLL 后,GUI 现在返回以下错误。我检查了事件日志、Tridion 日志等,以获取有关“缺少依赖项”的更多详细信息,有人有什么想法吗?

Could not load file or assembly 'Tridion.Extensions.Events, Version=1.0.20.521,
Culture=neutral, PublicKeyToken=ecb60dbe3cbb7440' or one of its dependencies.
The system cannot find the file specified.

Unable to get LangID of User (tcm:0-2851-65552). Initialization of the extension
'C:\Program Files (x86)\Tridion\bin\Tridion.Extensions.Events.MDO.dll' failed.

System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly,ObjectHandleOnStack)
System.Reflection.RuntimeAssembly.GetExportedTypes()
Tridion.ContentManager.Extensibility.TcmExtension.LoadExtensions()
Tridion.ContentManager.Extensibility.TcmExtension.LoadExtensions()
Tridion.ContentManager.Extensibility.TcmExtension.InitializeExtensions()
Tridion.ContentManager.Extensibility.EventSystem.DeliverEvent(IEnumerable`1,TcmEventArgs,EventDeliveryPhase)
Tridion.ContentManager.Extensibility.EventSystem.DeliverEvent(IdentifiableObject,TcmEventArgs,EventDeliveryPhase) Tridion.ContentManager.IdentifiableObject.Load(LoadFlags,Boolean)
Tridion.ContentManager.IdentifiableObject.Load(LoadFlags)
Tridion.ContentManager.BLFacade.IdentifiableObjectFacade.Read(UserContext,String,XMLReadFilter) XMLState.GetPropertyElem XMLState.GetProperty User.LangID

最佳答案

看起来您有两个程序集:Tridion.Extensions.Events.dllTridion.Extensions.Events.MDO.dll。由于您通过 Tridion.ContentManager.config 中的完整路径引用 TcmExtension DLL,因此同一目录中的一个 DLL 不能依赖于另一个 DLL。

解决方案是将“共享库”(可能是为您提供的 Tridion.Extensions.Events.MDO.dll)放入 GAC 中。

关于tridion - 将 Tridion 2009 事件系统迁移到 Tridion 2011 SP1 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10524548/

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