failed to connect to opcda://localhost/OPCServer.WinCC
See original GitHub issueI 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:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Related StackOverflow Question
@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.
@militiaonly Glad to hear that. If you find that there is a specific configuration of WinCC that can cause issues, let me know