5

When i browse my publish page from IIS server then i am getting an error

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Unknown server tag 'tridion:ComponentLink'.

Source Error:

{ "tridion:ComponentLink runat="server" PageURI="tcm:23-20934-64" ComponentURI="tcm:23-20921" TemplateURI="tcm:0-0-0" AddAnchor="false" LinkText="hyperlink text" LinkAttributes=" title="linkComponent" target="_blank" " TextOnFail="true"}

3 Answers 3

2

When setting up a .NET Web application for SDL Tridion, that involves installing the API Server Role, as explained in the documentation (requires login).

Installing the API server role involves registering .NET Server Controls which will take care of resolving dynamic links between content items. You will have to add the following DLLs from your installation media Content Delivery\roles\api\dotNet\ folder to the bin\ folder of your Web application:

  • netrtsn.dll
  • Tridion.ContentDelivery.AmbientData.dll
  • Tridion.ContentDelivery.Configuration.dll
  • Tridion.ContentDelivery.dll
  • Tridion.ContentDelivery.Interop.dll
  • xmogrt.dll

More details can be found in the documentation (requires login), because you will have to add the Java jar files and Content Delivery configuration files too.

5
  • I am lacking with "Tridion.ContentDelivery.AmbientData.dll". will it affect this? Commented Apr 2, 2014 at 11:47
  • @pankaj I think that depends on your configuration, but you should be able to find it in your installation media (I'm assuming you are using version 2013 SP1 here). Commented Apr 2, 2014 at 12:32
  • yes @Bart i am using version 2013 sp1.And i create component template with output format "Asp jScript" and Page Template file extension is ".aspx". and i have a schema with RTF field it have one anchor tag with component tcm in href property when i publish this page i got a page with ".aspx" extension when i open this page in browser i got above error. Commented Apr 3, 2014 at 4:49
  • @pankaj when you want to output ASP .NET you are better off setting your Template Output Format to REL, then the Deployer will insert the correct code. WIth regards to configuration, I meant your Storage and Deployer configuration, please follow the documentation on this, it is all described in there. Commented Apr 3, 2014 at 8:06
  • thanks in my application now above error not coming but now i am getting another error. Server Error in '/' Application. com.tridion.linking.ComponentLink Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: Java.Lang.Exception: com.tridion.linking.ComponentLink. Commented Apr 7, 2014 at 10:55
4

Looks like you are missing an association between the prefix "tridion" and the "Tridion.ContentDelivery.Web.UI" namespace. You could add it at the top of every page or just declare it in your web.config like so (applies to all pages then):

<configuration>
  <system.web>
    [...]
    <pages>
      [...]
      <controls>
        <add tagPrefix="tridion" namespace="Tridion.ContentDelivery.Web.UI" assembly="Tridion.ContentDelivery" />
      </controls>
    </pages>
  </system.web>
</configuration>
2
  • I have done this but still i am getting same error. Can u plz let me know the name of the dll which @Nash is indicating for. I am not getting which dll file he is talking about. Commented Apr 2, 2014 at 9:04
  • 1
    In the Content Delivery folder you can find pre-built web applications with all required DLLs, jars and web.config - I would suggest comparing your site build with those...
    – Nuno Linhares
    Commented Apr 2, 2014 at 11:45
3

You need to add a dll in your web application, so that your TCDL links get resolved, i forget the name of the dll, you can find that dll on content delivery installation manual

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.