无法在 SDL Tridion 中获取呈现内容错误



我想知道 SDL Tridion 中可能发生"无法获取渲染内容"错误的情况。我们使用 VBScript 进行模板化,我得到了一些场景,如下面在我的事件日志中列出的那样。但我无法做它的头或尾。

场景 1:无法获取页面 (tcm:48-215280-64) 的呈现内容。

Error 5 occurred while rendering the Component Presentation (SMS gruppe:Artikkel): 
Invalid procedure call or argument: 'RemoveChild' (source:
        .RemoveChild .selectSingleNode("tcm).

场景 2:

Unable to get rendered content of Component (tcm:57-215271).
No data found. [ETA_ITEMS, U]
Cannot insert the value NULL into column 'ITEM_ID', table 'Tridion_cm_2011.dbo.ITEM_ASSOCIATIONS'; column does not allow nulls. INSERT fails.
The statement has been terminated.

场景 3:

Unable to get rendered content of Page (tcm:52-213774-64).
Error 1017 occurred while rendering the Page: Expected 'Then' (source:
   If Rendermode() != "PreviewDynamic" Then).

场景 4:

Unable to retrieve rendered data from Component Presentation.
Error 3004 occurred while rendering the Component Presentation (Nytt dagstilbud iPhone 4S:Artikkel): 
Write to file failed. (source:
              .SaveToFile strTempFile, conSaveCreateOverWrite).

场景 5:

Unable to get rendered content of Page (tcm:48-215164-64).
Error 3004 occurred while rendering the Component Presentation (Ring inn julen med Comoyo:Artikkel): 
Write to file failed. (source:
              .SaveToFile strTempFile, conSaveCreateOverWrite).

场景 6:

Unable to get rendered content of Page (tcm:48-215164-64).
Invalid value for property 'BinaryContent'. Unable to open uploaded file: C:WindowsTEMPtcm-48-215158square940.jpg.

如果你们中的任何人能给我任何线索,说明问题可能在哪里,这样我就可以得到线索,那将是很有帮助的。提前非常感谢!

方案 1 看起来像 VBScript 语法错误,因此很可能是模板代码中的拼写错误。方案 2 看起来有点问题,因为它是数据库错误。方案 3、4、5 和 6 看起来都像标准的 VBScript 语法错误。

一些示例,场景 3:

If Rendermode() != "PreviewDynamic" Then

有一个语法错误,它提到了Expected 'Then'所以我们知道错误在 Then 语句之前的某个地方。仔细看,变量 RenderMode 后面有括号,这是不正确的,它应该是:

If RenderMode != "PreviewDynamic" Then

最新更新