3

Trying to connect to Tridion via ECL WCF api but getting permission issue. Here is my code:

EndpointAddress eclServiceEndpoint = new EndpointAddress("net.tcp://localhoast:2660/ExternalContentLibrary/2012/netTcp");
NetTcpBinding binding = new NetTcpBinding
{
    MaxReceivedMessageSize = 2147483647,
    ReaderQuotas = new XmlDictionaryReaderQuotas
    {
        MaxStringContentLength = 2147483647,
        MaxArrayLength = 2147483647
    }
};
// ecl service client
var eclServiceClient = new SessionAwareEclServiceClient(binding, eclServiceEndpoint);
eclServiceClient.Impersonate(@"domain\user");

I am getting a permission error in the last line. I have added impersonation user to server, restarted COM+ services and IIS but nothing works.

What am I doing wrong? We are using Celum as ECL and we have DXA 1.9 (Web 8.5).

1 Answer 1

0

Welcome to Tridion stack exchange.

Have you added impersonation user to CM configuration?

Here is the SDL Docs link to do that.

3
  • yes, I think he did so because he added it in comment.
    – Marko Milic
    Oct 17, 2019 at 8:06
  • 1
    Hello, I found the solution for my problem. I forgot to restart SDL Service Host service after I added my username as Impersonation user, so the change was not taken. Thanks for your time.
    – Sankar
    Oct 17, 2019 at 12:15
  • 2
    In that case, please post your comment as an answer and 'accept' it so the question becomes closed
    – Atila Sos
    Oct 19, 2019 at 19:05

Your Answer

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

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