我们刚刚开始在尝试发布页面(.NET)时遇到一些错误-在Tridion2009中。它从断断续续的、经典的"RenderComponentPresentation超过渲染失败的最大数量0“错误开始,然后发展到完全失败。
我们可以正确地预览页面,所以我不愿意相信这与实际的模板代码有任何关系。
不幸的是,我不能控制运行它的机器,所以我将不能运行任何调试代码,等等。因此,这是一种在黑暗中的尝试!
堆栈跟踪如下:
Event Type: Error
Event Source: Publishing
Event Category: None
Event ID: 100
Date: 22/05/2012
Time: 14:28:22
User: N/A
Computer: XXXXXXXXXX
Description:
Exception has been thrown by the target of an invocation.
Old format or invalid type library. (Exception from HRESULT: 0x80028019 (TYPE_E_UNSUPFORMAT))
Component: Tridion.ContentManager.Publishing
Errorcode: 0
User: NT AUTHORITY\SYSTEM
StackTrace Information Details:
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Tridion.ContentManager.Session.GetObject(String uri)
at Tridion.ContentManager.Publishing.Publisher.QueueMessageHandler.HandleMessage() 发布于 2012-05-22 21:28:59
看起来你在那个系统的某个地方有一个旧的DLL。检查所有依赖项(因此放入GAC或Tridion*\bin目录中的DLL)是否都是最新的,并让它们重新启动与Tridion相关的服务、COM+应用程序和IIS应用程序池。
编辑:实际上,如果模板生成器工作,它看起来DLL可能已经是最新的,你只需要重新启动services+COM+apppools。如果您的团队不知道如何做到这一点,简单地让他们重启机器或看看this script,它会对所有与Tridion相关的东西进行暴力重启。
https://stackoverflow.com/questions/10702972
复制相似问题