[-10722] PINET: Timeout on PI RPC or System Call. OSIsoft.AF.PI.PIConnectionException
The default connectionTimeout value for that PIpoint supercollective is set to 10s. We have thought to increase the connectionTimeout by 20s by using the below code.
piPoint.Server.ConnectionInfo.ConnectionTimeOut = new System.TimeSpan(0, 0, 20);
After execution, we got the below exception:
An exception of type 'System.InvalidOperationException' occurred in OSIsoft.AFSDK.dll but was not handled in user code. Additional information: Cannot change the PI Data Archive because it is defined by a collective.
Note that we are using AFSDK version 2.5.2
Is this the right way to increase the connectionTmeout in AFSDK?
Also, Please let me know any way to fix this issue through PiPoint server settings.
Thanks in Advance.