1 Reply Latest reply on Aug 19, 2016 6:28 AM by Jerome Lefebvre

    The server has rejected the client credentials

    zxvcvf3234

      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();

                  }