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.
I Keep Receiving an Error When Trying to Connect to OPC Server
Can you post here a screenshot of the Connectivity Explorer, showing the node that gives the problem?
Thank you
Please Log in or Create an account to join the conversation.
- johndoe1234
-
Topic Author
- Offline
- Senior Member
-
- Posts: 5
- Thank you received: 0
Please Log in or Create an account to join the conversation.
The HostNotFound is reported by Windows to us, so either the host name is specified as you intended, but Windows cannot resolve it, or somehow the host name passed in was not the one intended.
Can you post here the piece of code that gives the error, and the values you are passing into the QuickOPC method?
Thank you
Please Log in or Create an account to join the conversation.
- johndoe1234
-
Topic Author
- Offline
- Senior Member
-
- Posts: 5
- Thank you received: 0
"UA SDK error (SocketErrorCode=HostNotFound) in 'DiscoveryClient.FindServersOnNetwork'. No such host is known
+ The client method called (or event/callback invoked) was 'Discover'."
Once again the part where I tried on another client and it worked with no issues still applied. Sorry for the initial confusion. Please let me know if there is something I am doing wrong again or if there is a setting or something I need to change. Thanks so much for the help.
Please Log in or Create an account to join the conversation.
You are using EasyDAClient object, which is for OPC Classic (COM/DCOM based), with a URL of an OPC UA (Unified Architecture) server.
Use the EasyUAClient if you want to use OPC UA.
If your intent is to use OPC Classic, and you have not put in "opc.tcp://myserverurl" there deliberately, put the relevant piece of code here for review.
Best regards
Please Log in or Create an account to join the conversation.
- johndoe1234
-
Topic Author
- Offline
- Senior Member
-
- Posts: 5
- Thank you received: 0
When I try to connect to the OPC server I have set up, every time I get the error:
"The requested OPC Data Access technology 'Unknown' is not supported. Check the scheme "opc.tcp" in server URL string "opc.tcp://myserverurl" .
+The client method called (or event/callback invoked) was 'BrowseNodes'."
I have tried removing the "opc.tcp" at the beginning thinking that maybe it automatically adds that as all OPC servers start with that, the same error occurred but instead with the "myserverurl" part.
I know for a fact that the OPC server is running and working because I was able to connect to it using a different OPC client that our company uses for other things.
If you have any ideas or suggestions on what the issue might be, please let me know.
Please Log in or Create an account to join the conversation.