AnsweredAssumed Answered

PI OPC DA Server error adding collective

Question asked by Guilherme Ferreira Champion on May 8, 2018
Latest reply on May 8, 2018 by Guilherme Ferreira

Hi all!

 

I am using PI OPC DA server to pull data out of my PI system.

At some point, some of the tags stopped updating.

 

I found in the trace files the following error:

 

OpcServer:AddPIServer can't add element

System.ArgumentNullException: Value cannot be null.

Parameter name: key

   at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)

   at System.Collections.Generic.SortedList`2.IndexOfKey(TKey key)

   at System.Collections.Generic.SortedList`2.TryGetValue(TKey key, TValue& value)

   at OSIsoft.PI.Net.ReconnectBehavior.Bind(RoleEntity currentRole, ConnectionEntity configur

E U1  4740 08-18:19:42.444 OpcServer:Update                                                                 Error adding new server <COLLECTIVE_NAME>

 

I also tryed to read some tag with Matrikon OPC Client, but can't even add them to the group.

The trace files have messages like that:

 

OPC 5352 08-18:19:42.522 (srv|0001E6F9| <SERVER>\C:\Program Files (x86)\Matrikon\OPC\Explorer\OPCExplo GetStatus returns RUNNING

I OPC 5352 08-18:19:42.522 (srv|0001E6F9| <SERVER>\C:\Program Files (x86)\Matrikon\OPC\Explorer\OPCExplo IOPCServer::GetStatus (0.0 ms)[0x0]

 

After restarting server service, everything went back to normal.

 

Anyway, I would like some help to try and find the cause for the error.

 

In time, what is the difference between Trace_currentA.log and Trace_currentB.log?

 

Thanks and regards

Outcomes