在SDL Tridion 2011 SP1中使用DCP执行页面

Pat*_*tan 1 tridion tridion-content-delivery tridion-2011

我已经发布了一个带DCP的ASPX页面.

    <html>
    <head>
    </head>
    <body>
         <tridion:ComponentPresentation runat="server" PageURI="tcm:9-5251-64" ComponentURI="tcm:9-5245" TemplateURI="tcm:9-5247-32"/> 
    </body>
    </html>
Run Code Online (Sandbox Code Playgroud)

有哪些方法可以执行此页面,以便呈现DCP.

我刚尝试通过IIS浏览此页面,我收到解析器错误.

Unknown server tag 'tridion:ComponentPresentation'
Run Code Online (Sandbox Code Playgroud)

如果有人可以指导我运行这个页面,那就太棒了.

提前致谢

vik*_*mar 10

请确保您已按照标签的web.configTridion.ContentDelivery DLL宾县

  <configuration>
<system.web>
    <pages>
        <controls>
            <add tagPrefix="tridion" 
     namespace="Tridion.ContentDelivery.Web.UI"
     assembly="Tridion.ContentDelivery" />
        </controls>
    </pages>
</system.web>
Run Code Online (Sandbox Code Playgroud)