- Posts: 89
- Thank you received: 2
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.
Impossible to connect client UA to TOP SERVER in same network
- gkalipershad
- Offline
- Platinum Member
Please Log in or Create an account to join the conversation.
- gkalipershad
- Offline
- Platinum Member
- Posts: 89
- Thank you received: 2
I am not sure what ended up happening with this customer from back in 2018, but it is likely that they stopped responding to me. This may mean that disabling prerequisites boxing worked for them. However, I am having another customer with similar issues.
He has a custom VBA application that uses OPC UA. I believe he is using V2020.2 and the OPC Server is a remote TOP Server.
When he runs his VBA app, he gets the following error:
Run-time error '-2146232832 (80131600)':
OPC-UA service result - Could not create a certificate via a proxy: The
operation complete successfully = Bad.
----SERVICE RESULT ----
Status Code: {Bad} = 0x80000000 (2147483648)
+ The SDK action called was
"ApplicationInstance.CheckApplicationInstanceCertificate"
It would appear that the VBA app cannot generate its certificate and they are not able to try running as admin.
I tried the EasyOpcUADemo and the UAClientCertificateParameters.xls VBA example. Both of these are able to create certificates and place them in C:\ProgramData\OPC Foundation\CertificateStores\UA Applications\certs, but they are also met with errors that read:
Run-time error '-2147024810 (80070056)':
The specified network password is not correct.
+ The SDK action called was
"ApplicationInstance.CheckApplicationInstanceCertificate"
I wanted to recommend disabling prerequisites boxing, but I do not know how to do this for a VBA application. Any thoughts?
I also considered using the Opc.Ua.ConfigurationTool but that looks for an exe extension.
Other thing that we tried was adding this code to his application to set a subject on the client certificate, but no change.
Dim ClientConfiguration As New EasyUAClientConfiguration
ClientConfiguration.SharedParameters.EngineParameters.ApplicationParameters.ApplicationName = "PLACE APPLICATION NAME HERE"
Any ideas or suggestions that you might have would be greatly appreciated.
Regards,
GK
Please Log in or Create an account to join the conversation.
from the computer that has the problem, is it possible to connect to *any* OPC UA server from the same application, or does it always give this error, independent from which OPC UA server you try to connect to?
If it is independent of the target OPC server, as a kind of wild guess, can you please try the steps described here?: kb.opclabs.com/How_to_disable_prerequisites_boxing
Best regards
Please Log in or Create an account to join the conversation.
- gkalipershad
- Offline
- Platinum Member
- Posts: 89
- Thank you received: 2
I have a user experiencing the same behavior. They are using 5.52.147.1 on two machines and is trying to use the EasyOpcUADemo to connect to their customer's OPC Server. On one machine, they receive the error in the attached screenshot. The other machine makes the connection successfully and can read the nodes. I am told that the only difference is that computer with the error is directly plugged into the customer’s network and that the working machine is connected via their guest WiFi.
This is the full error message:
"The specified network password is not correct.
+ The error occurred while checking the (client) application instance certificate. The certificate generator path was "C:\Program Files (x86)\Software Toolbox OPC Data Client 2018.1\DemoNet\EasyOpcUADemo\Opc.Ua.CertificateGenerator.exe".
+ This is an engine-level error."
The user also showed me a screenshot of the Server Endpoint User Identity and it is set to Anonymous.
Any help would be greatly appreciated.
Please Log in or Create an account to join the conversation.
Best regards
Please Log in or Create an account to join the conversation.
- netcloudengineering
- Offline
- Junior Member
- NetCloud Engineering
Especialistas en telecomunicaciones y ciberseguridad industrial en Barcelona.
Please Log in or Create an account to join the conversation.
Do you have error handling in your code to show such messages? Can you post the code here?>
Thank you
Please Log in or Create an account to join the conversation.
- I-Tecnology
- Topic Author
- Offline
- Elite Member
- Posts: 26
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Regards
Please Log in or Create an account to join the conversation.
- I-Tecnology
- Topic Author
- Offline
- Elite Member
- Posts: 26
- Thank you received: 0
Best regards
Please Log in or Create an account to join the conversation.