1 Reply Latest reply on Oct 12, 2016 2:48 PM by bpayne

    Timeout using Credential vs. Integrated

    BrianFONeil

      I am trying to perform updates to AF using the SDK, but I get a WCF timeout (default 5 minutes) if I use a credential with user and password, not if I use just no stated account.

      Below is my logic for taking either path to make the updates :

       

       

        PISystem system = new PISystems()[_piServerName];

       

       

       

          if (_login != null && _login.Length > 0)            
                  {       

                  System.Net.NetworkCredential credential = new System.Net.NetworkCredential(_login, _password, "DOMAIN");  


                   system.Connect(credential);             }        
          else      
            {            
                  system.Connect();     
             }

       

       

      Thanks