Tridion 2009 模板发布失败 [英] Tridion 2009 Template Publishing Failure

查看:21
本文介绍了Tridion 2009 模板发布失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试发布页面 (.NET) 时,我们刚刚开始遇到一些错误 - 在 Tridion 2009 中.它始于间歇性的经典RenderComponentPresentation 超出最大渲染失败次数 0"错误,然后进展到完全失败.

We've just started getting some errors when trying to publish pages (.NET) - in Tridion 2009. It started off with intermittent, classic "RenderComponentPresentation exceeded maximum number of render failures 0" errors, and then progressed to complete failure.

我们可以正确预览页面,所以我不愿意相信这与实际的模板代码有关.

We can preview the pages correctly, so I'm loathe to believe it's anything to do with the actual templating code.

不幸的是,我无法控制正在运行的机器,所以我将无法运行任何调试代码等......所以这是在各种黑暗中的一个镜头!

Unfortunately I don't control the box this is running on, so I won't be able to run any debug code, etc... so this is a shot in the dark of sorts!

堆栈跟踪如下:

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() 

推荐答案

看起来您在该系统的某处有一个旧的 DLL.检查盒子上的所有依赖项(即您放入 GAC 或 Tridion*\bin 目录中的 DLL)是否都是最新的,并让它们重新启动与 Tridion 相关的服务、COM+ 应用程序和 IIS 应用程序池.

It looks like you have an old DLL somewhere on that system. Check if all your dependencies (so DLLs that you put into the GAC or Tridion*\bin directories) on the box are up to date and have them restart the Tridion-related services, COM+ applications and IIS application pools.

实际上,如果模板生成器工作,看起来 DLL 可能已经是最新的,您只需要重新启动服务 + COM + 应用程序池.如果您的团队不知道该怎么做,只需让他们重新启动机器或查看 this脚本对所有与 Tridion 相关的东西进行暴力重启.

actually if Template Builder works, it looks like the DLLs may be up to date already and you just have to restart the services+COM+apppools. If your team doesn't know how to do that, simply have them restart the machine or have a look at this script that does a brute force restart of everything Tridion-related.

这篇关于Tridion 2009 模板发布失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆