3

I am getting error when i am trying to add new Mediator.I did following changes in Tridion.ContentManager.config:

<section name="mustache.mediator" type="Tridion.Extensions.Mediators.Mustache.Configuration.MustacheMediatorConfigurationSection, Tridion.Extensions.Mediators.Mustache, Version=1.0.0.0, Culture=neutral, PublicKeyToken=063be528da549efd" />

<add id="10" name="MustacheTemplate" mimeType="text/x-tcm-nustache" hasBinaryContent="false" contentHandler="Tridion.Extensions.Mediators.Mustache.MustacheContentHandler, Tridion.Extensions.Mediators.Mustache, Version=1.0.0.0, Culture=neutral, PublicKeyToken=063be528da549efd">                            
        <webDavFileExtensions>
          <add itemType="TemplateBuildingBlock" fileExtension="nustache" />
        </webDavFileExtensions>
      </add>
    </templateTypes>

 <mediator matchMIMEType="text/x-tcm-nustache" type="Tridion.Extensions.Mediators.Mustache" assemblyPath="C:\Mustache\Tridion.Extensions.Mediators.Mustache.dll" /> 

I uploaded dll into GAC also. i am getting "object reference not found error". Please help me for the same.

4
  • 1
    It won't be the cause of your problem, but have you noticed that sometimes you say mustache and sometimes nustache? – Dominic Cronin Sep 7 '15 at 11:46
  • 1
    Using Nustache, but forgot to put the Nustache dll in the GAC, perhaps? On a side note, you can save troubles and pains by utilizing Nustache (or any other .NET templating libraries) using XView xview.codeplex.com – hoang Sep 7 '15 at 12:53
  • 1
    Check the Tridion event log. Expect to see an error event with a stack trace which provides more insight in where the exception occurs. – Rick Pannekoek Sep 7 '15 at 17:50
  • Sorry for my delayed response Issue got resolve as i missed class name to be add in <Mediator section <mediator matchMIMEType="text/html" type="Tridion.Extensions.Mediators.Mustache.MustacheMediator" assemblyPath="C:\Mustache\Tridion.Extensions.Mediators.Mustache.dll" /> – abhishek kamthan Sep 11 '15 at 14:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.