在 SDL Tridion 2011 SP1 中使用 DCP 执行页面 [英] Executing a Page with DCP in SDL Tridion 2011 SP1
本文介绍了在 SDL Tridion 2011 SP1 中使用 DCP 执行页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经发布了一个带有 DCP 的 ASPX 页面.
I have published a ASPX page with DCP.
<html>
<head>
</head>
<body>
<tridion:ComponentPresentation runat="server" PageURI="tcm:9-5251-64" ComponentURI="tcm:9-5245" TemplateURI="tcm:9-5247-32"/>
</body>
</html>
有什么方法可以执行这个页面,让它呈现DCP.
What are the ways to execute this page, so that it renders the DCP.
我刚刚尝试通过 IIS 浏览此页面,但出现解析器错误.
I just tried browsing this page through IIS, I am getting parser error.
Unknown server tag 'tridion:ComponentPresentation'
如果有人能指导我运行这个页面就好了.
It would be great if some one can guide me to run this page.
提前致谢
推荐答案
确保 web.config 和 Tridion.ContentDelivery dll 中有以下标签>
Make sure you have following tag in web.config and Tridion.ContentDelivery dll in bin
<configuration>
<system.web>
<pages>
<controls>
<add tagPrefix="tridion"
namespace="Tridion.ContentDelivery.Web.UI"
assembly="Tridion.ContentDelivery" />
</controls>
</pages>
</system.web>
这篇关于在 SDL Tridion 2011 SP1 中使用 DCP 执行页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文