DataTypeManager.ParseValue does not support typeSystemId
Posted: 14 Apr 2021, 10:18
Hi All,
I have an Information Model with a simple costum structure type and an instance of such structure. I am using "Unified Automation UA .NET SDK Bundle 3.0.9 (Evaluation Edition)" on Serverside and Clientside.
The Server loads the XML perfectly fine but the UAExpert can not display the structure.
So I tried to read the structure instance with the console client application, pretty much the same as the SDK Client example code.
There already are some lines of code to parse ExtensionObjects, but DataTypeManager.ParseValue exits with an Exception
Using Body.ToString() on the ExtensionObject gives me a (good looking) XML representation of my structure, but the parsing to a GenericEncodeableObject fails:
[StatusException] The type system is not supported.
Parameter name: typeSystemId
at UnifiedAutomation.UaBase.AsyncResultBase.ThrowOnError()
at UnifiedAutomation.UaBase.AsyncResultBase.WaitForComplete()
at UnifiedAutomation.UaBase.AsyncResultBase.WaitForComplete(IAsyncResult ar)
at UnifiedAutomation.UaClient.DataTypeManager.EndGetDictionary(IAsyncResult result)
at UnifiedAutomation.UaClient.DataTypeManager.OnGetDescriptionFromEncodingGetDictionaryComplete(IAsyncResult result)
[ArgumentException] The type system is not supported.
Parameter name: typeSystemId
at UnifiedAutomation.UaClient.DataTypeManager.AddDictionaryToCache(NodeId typeSystemId, ExpandedNodeId dictionaryId, Byte[] schemaData)
at UnifiedAutomation.UaClient.DataTypeManager.OnGetDictionaryReadDataComplete(IAsyncResult result)
I double checked the code with following: https://documentation.unified-automation.com/uasdkdotnet/2.5.3/html/L3ClientTutExample28.html but looks like the example code is not the issue.
Am i missing something? What should i try to figure out the root cause?
Thanks in advance!
I have an Information Model with a simple costum structure type and an instance of such structure. I am using "Unified Automation UA .NET SDK Bundle 3.0.9 (Evaluation Edition)" on Serverside and Clientside.
The Server loads the XML perfectly fine but the UAExpert can not display the structure.
So I tried to read the structure instance with the console client application, pretty much the same as the SDK Client example code.
There already are some lines of code to parse ExtensionObjects, but DataTypeManager.ParseValue exits with an Exception
Using Body.ToString() on the ExtensionObject gives me a (good looking) XML representation of my structure, but the parsing to a GenericEncodeableObject fails:
[StatusException] The type system is not supported.
Parameter name: typeSystemId
at UnifiedAutomation.UaBase.AsyncResultBase.ThrowOnError()
at UnifiedAutomation.UaBase.AsyncResultBase.WaitForComplete()
at UnifiedAutomation.UaBase.AsyncResultBase.WaitForComplete(IAsyncResult ar)
at UnifiedAutomation.UaClient.DataTypeManager.EndGetDictionary(IAsyncResult result)
at UnifiedAutomation.UaClient.DataTypeManager.OnGetDescriptionFromEncodingGetDictionaryComplete(IAsyncResult result)
[ArgumentException] The type system is not supported.
Parameter name: typeSystemId
at UnifiedAutomation.UaClient.DataTypeManager.AddDictionaryToCache(NodeId typeSystemId, ExpandedNodeId dictionaryId, Byte[] schemaData)
at UnifiedAutomation.UaClient.DataTypeManager.OnGetDictionaryReadDataComplete(IAsyncResult result)
I double checked the code with following: https://documentation.unified-automation.com/uasdkdotnet/2.5.3/html/L3ClientTutExample28.html but looks like the example code is not the issue.
Am i missing something? What should i try to figure out the root cause?
Thanks in advance!