failed to connect to opcda://localhost/OPCServer.WinCC

See original GitHub issue

I can successfully connect to local Kepware OPC Server with the h-opc-cli h-opc-cli.exe da opcda://localhost/Kepware.KEPServerEX.V6

However, when I am trying to connect to a Siemens WinCC V7.3 OPC DA Server (OPC Data Access 2.0), I got the below exception. h-opc-cli.exe da opcda://localhost/OPCServer.WinCC h-opc-cli v0.9.0 An error occured when trying connecting to the server The application ended unexpectedly. System.Runtime.InteropServices.ExternalException (0x80004005): CoCreateInstanceEx: The specified service does not exist as an installed service.

I am pretty sure that the WinCC OPC Server is working normally. Because I can use Prosys OPC Client to connect to it and browse and monitor tag values.

Is it a bug or is there some way to connect to a WinCC V7.3 OPC DA Server? Many thanks in advance!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
militiaonlycommented, Nov 3, 2017

@jmbeach Thanks for your input. I will double check all the settings. But I think in my test there should not be any DCOM issue. Because both the server and client are in the same “localhost” windows 10 OS. Later I will publish more test results.

0reactions
jmbeachcommented, Nov 10, 2017

@militiaonly Glad to hear that. If you find that there is a specific configuration of WinCC that can cause issues, let me know

Read more comments on GitHub >

github_iconTop Results From Across the Web

WinCC Explorer - Cannot Connect to server - 167999
Dear Experts, Am using Wincc V7.4 Sp1 . I have done project in one System (PC) . And i copied the Project And...
Read more >
How to solve error connection WinCC Explorer V7.5 SP2 ...
Hello everyone! Today I would like to show and share about How to solve error connection WinCC Explorer V7.5 SP2 while connect with...
Read more >
Configuring WinCC Sm@rtServer on a SIMATIC Comfort HMI
Contact us anytime at https://www.awc-inc.com/ SUBSCRIBE: https://www.youtube.com/c/AWCINCOnline?sub_confirmation=1 CHAT WITH AN AUTOMATION ...
Read more >
TIA Portal V18 & WinCC Unified: Download, Install ... - YouTube
TIA Portal V18 & WinCC Unified: Download, Install, convert project, solve HTTP 503 error · Comments26.
Read more >
SIMATIC HMI WinCC V7.4 SP1 - Configurations - RealPars
If there s no local data management (e.g. messages and archives), access is rejected and an error message issued. Preferred server. If you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found