我們剛開始嘗試發佈頁面(.NET)時出現了一些錯誤 - 在Tridion 2009中。它以間歇性,經典的「RenderComponentPresentation超出渲染失敗0的最大數量」錯誤開始,然後進展到完全失敗。Tridion 2009模板發佈失敗
我們可以正確預覽頁面,所以我很討厭相信這與實際的模板代碼有關。
不幸的是,我不控制這個運行的盒子,所以我將無法運行任何調試代碼等等......所以這是一個黑暗中的鏡頭!
堆棧跟蹤低於:
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()
我記得5.3中有類似的錯誤,因爲我的程序集被編譯爲「ANY CPU」,服務器是x64,並且Tridion嘗試加載它們會破壞它。在強制它編譯成x86後,我停止了這個錯誤,所以沒有比這更深入的研究。 –