Skip to main content
1-Visitor
March 7, 2022
Question

Kepware ClientAce dll KeyNotFoundException occurrence!!

  • March 7, 2022
  • 1 reply
  • 1575 views

Hello. I am working on a project with ClientAce dll. There are many cases where the application dies due to the following error. Any solution?

 

Framework Version: v4.0.30319
Explanation: The process terminated with an unhandled exception.
Exception information:System.Collections.Generic.KeyNotFoundException
  Location : System.Collections.Generic.Dictionary`2[[System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Item(UInt32)
   Location : Kepware.ClientAce.OpcDaClient.DaServerMgt.OnWriteCompleted(UInt32, Int32, UInt32, std.vector<unsigned int,std::allocator<unsigned int> >*, std.vector<long,std::allocator<long> >*)

 

Thank you in advance.

1 reply

24-Ruby III
March 7, 2022

 Hi,

 

Try this solution:

 

Pic_1.png