AnsweredAssumed Answered

The server has rejected the client credentials

Question asked by zxvcvf3234 on Aug 19, 2016
Latest reply on Aug 19, 2016 by Jerome Lefebvre

Hi, I'm using PI AF SDK to connect to PI server. I have a host address, domain\username and password provided by PI server administrator, but when trying to connect the "The server has rejected the client credentials" error occurs. Is something missing in user configuration on PI server side ?

my code:

            using (var system = PISystem.CreatePISystem(host))

            {

                var credentials = new NetworkCredential(userName, password, domain);

                system.Connect(credentials);

                system.Disconnect();

            }

Outcomes