Professional OPC
Development Tools

logos

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

More
20 Oct 2020 13:24 #9015 by gkalipershad
5.58.146.1 is the precise build.

Please Log in or Create an account to join the conversation.

More
20 Oct 2020 13:23 #9014 by gkalipershad
Hello,

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.

More
27 Apr 2018 17:12 #6271 by support
Hello,

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.

More
27 Apr 2018 16:24 #6270 by gkalipershad
Hello,

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.
Attachments:

Please Log in or Create an account to join the conversation.

More
15 Sep 2017 11:20 #5515 by support
Hello. Please provide details about your issue. Steps taken, expected and observed behavior. Add related code snippets and screenshots.

Best regards

Please Log in or Create an account to join the conversation.

More
15 Sep 2017 10:50 #5514 by netcloudengineering
Hello everyone. Having the same connection problems than I Technology. Let's see if we can solve it!

Especialistas en telecomunicaciones y ciberseguridad industrial en Barcelona.

Please Log in or Create an account to join the conversation.

More
06 Sep 2017 14:39 #5495 by support
I am still confused as to which application shows this error message. Is it coming from the client, from the server, or you simply dont't know?

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.

More
06 Sep 2017 12:12 #5490 by I-Tecnology
Attacched the image of error.
Attachments:

Please Log in or Create an account to join the conversation.

More
01 Sep 2017 09:16 #5472 by support
Thank you. I need to understand where the error message is coming from. Are you receiving a popup on the client computer, or on the server computer? Can you post a picture of that error, too?

Regards

Please Log in or Create an account to join the conversation.

More
31 Aug 2017 14:27 #5469 by I-Tecnology
Attacched the correct images.

Best regards
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.080 seconds