- Posts: 8
- Thank you received: 0
Online Forums
Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.
Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.
Do not use the Contact page for technical issues.
UAResultException while connecting
Best regards.
Please Log in or Create an account to join the conversation.
" Hello, I've tested the connection with OpcUANetDemo with 2022.2 and 2023.1 dlls. The connect exception remains with all dlls versions but with 2023.1 the server is browsable."
Please Log in or Create an account to join the conversation.
I am confident that it cannot be the "OPC UA Endpoint Connection Test Error" you described. So it is a separate problem.
Note that we do not support older versions officially.
Regards
Please Log in or Create an account to join the conversation.
Best regards.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Thank you.
Massimo Scaglioni
Please Log in or Create an account to join the conversation.
This happens when the "connection test" tries to read the so-called "service level" from the server, which should result in a number between 0 and 255. And apparently, the server has returned null, which is incorrect.
But, the fact the code has made it so far, actually means that the connection has succeeded in principle.
So, if you do not do "connection test", and simply try to use the server through the connection, does it work?
Best regards
Please Log in or Create an account to join the conversation.
QuickOPC version 2022.2.
Exception Details: OPC UA Endpoint Connection Test Error
Type: OpcLabs.EasyOpc.UA.UAResultException
Data:
HelpLink:
HResult: -2146232832 (0x80131600)
InnerException: System.InvalidCastException: A null value cannot be converted to a value type, 'System.Byte'.
Data:
HelpLink:
HResult: -2147467262 (0x80004002)
InnerException:
Message: A null value cannot be converted to a value type, 'System.Byte'.
Source:
StackTrace:
TargetSite:
Message: The OPC UA server has returned a '' result, but this operation requires a 'System.Byte' value, and the conversion is not possible.
Source:
StackTrace:
TargetSite:
Please Log in or Create an account to join the conversation.