I am getting the following error in template builder while running a Page and PT. I am using Tridion 2013 SP1 .

Access is denied for the user NT AUTHORITY\NETWORK SERVICE. at Tridion.ContentManager.Security.AuthorizationManager.LoadAccessToken(String userName, IEnumerable1 mappedGroupUris, IEnumerable1 claimSets) at Tridion.ContentManager.Session..ctor() at MetLife.ADD.Marketing.Tridion.Templating.Templating.GenerateSiteMap..ctor()

1 Answer 1


It appears to me something is going wrong in the method MetLife.ADD.Marketing.Tridion.Templating.Templating.GenerateSiteMap which I would expect to be part of one of the Template Building Blocks in your Page Template.

I think you need to debug its code to see what is going wrong there...

  • 1
    As a guess, you're trying to impersonate the current user account - in Template Builder that's Network Service which cannot login to Tridion (and that is correct behavior). It will probably work when publishing or previewing.
    – Nuno Linhares
    Apr 9, 2014 at 11:41

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.