小编Sun*_*dar的帖子

Tridion:发布时无法加载.Net dll

我正在使用.Net dll Newtonsoft.Json in my C# TBB来处理组件并生成Json数据.我已经添加了这个dll GAC[Global Assembly Cache],它也可以运行.但有时它不起作用,我发布时出现以下错误:

JScriptException: Expression 'RenderComponentPresentation()' had error 'Could not load file or assembly 'Newtonsoft.Json, Version=4.0.5.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.'

但是当我在Tridion中预览页面时它运行正常.要解决此问题,我们重新启动Tridion Services,重新启动后,我们发布了一个很好的页面.但是这个问题一再出现.有没有办法永久解决这个问题?

最近,当我已经在发布过程中再次发布同一页面时,我可以重现问题.第二次发布尝试返回上述错误,但第二次发布尝试失败后第一次发布尝试完成并返回Success.任何想法为什么这种奇怪的行为.

.net json.net assembly-loading tridion tridion2009

9
推荐指数
2
解决办法
991
查看次数

组件中的iframe标签在发布时提供不完整的页面

在Tridion中,我有一个附加组件的页面,该页面有一个文本字段,其中有一个iframe标签<iframe src="http://mysite.com/l/5042/2012-06-21/9pb4y" width="100%" height="500" frameborder="0" style="border: 0" > </iframe>.我确保此标记在处理时保持原样C# & DWT template building blocks.但是在页面发布时,在页面源中,标签会更改为<iframe src="http://mysite.com/l/5042/2012-06-21/9pb4y" width="100%" height="500" frameborder="0" style="border: 0" />.因此,页面源不会在iframe标记后显示任何内容.因此,在包含iframe标记的组件之后附加到页面的任何组件都不会显示在页面上.知道为什么结束标签</iframe>被自闭标签取代了/>吗?

tridion tridion2009 tridion-2011

6
推荐指数
1
解决办法
635
查看次数

Tridion:使用Business Connector下载图像和xml数据的xml请求应该是什么?

我正在使用Tridion 5.3版.我是Tridion的新手.使用业务连接器我想下载图像文件及其XML数据.我目前的要求如下.

<?xml version='1.0'?>
<tcmapi:Message xmlns:tcmapi="http://www.tridion.com/ContentManager/5.0/TCMAPI"
version="5.0" from="testTool" failOnError="false">
<tcmapi:Request ID="Request1" preserve="false">
  <tcmapi:GetItem itemURI="tcm:6-3146" writeBinaryToDisk="true">
    <tcmapi:ItemFilter type="XMLReadAll"/>
  </tcmapi:GetItem>
</tcmapi:Request>
</tcmapi:Message>
Run Code Online (Sandbox Code Playgroud)

我应该修改什么?

xml tridion

5
推荐指数
1
解决办法
182
查看次数

Tridion:批量发布时不会部署二进制组件

我正在使用Tridion 5.3.

我的网页上附有100多个pdf链接.当我发布那个页面时,即使我得到每个pdf的URL,也不会发布所有pdf "/pdf/xyzpdfname_tcm8-912.pdf".当我点击这些链接时,我收到404错误.对于我得到错误的相同pdf组件,如果我通过附加5到10个pdf一次发布它们就会发布它们并且没有404错误并且一切正常.但这不是我需要的功能.有没有人知道为什么Tridion如果我批量发布它们就无法部署二进制内容?

engine.PublishingContext.RenderedItem.AddBinary(pdfComponent).Url用来获取pdf网址.

tridion tridion2009

2
推荐指数
1
解决办法
1353
查看次数