AnsweredAssumed Answered

Timeout using Credential vs. Integrated

Question asked by BrianFONeil on Oct 11, 2016
Latest reply on Oct 12, 2016 by bpayne

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

Outcomes