Reputation: 17893
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>
What are the ways to execute this page, so that it renders the DCP.
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.
Thanks in Advance
Upvotes: 1
Views: 265
Reputation: 2444
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>
Upvotes: 10
Reputation: 3547
You need to install the 'API Server Role' for your .NET web application:
(username/password required)
Upvotes: 4