AnsweredAssumed Answered

I am looking for some help. connection issue with passing credentials to connect PI Data archive server. But I am able to connect AF server by AF SDK

Question asked by kolipaka on Sep 25, 2020
Latest reply on Sep 25, 2020 by kolipaka

I am not able to connect PI data archive server but I am able to connect AF server for same credentials following below code. We mapped to pi points to this user credentials. Looking for help to connect PI data archive

 

Dim vCred As NetworkCredential = New NetworkCredential(ConfigurationManager.AppSettings("PIUSER"), ConfigurationManager.AppSettings("PIPWD"), ConfigurationManager.AppSettings("PIDOMAIN")) PIServer.Connect(vCred)
     Console.WriteLine("connected AF Server :{0}, {1}", vPIServer.CurrentUserName, vPIServer.Name)

Outcomes