c# problem accessing remote OPC(da) server


Opposing to previous assumptions our partner still uses opc da on a Siemens S7-319F 3PN/DP

Now I'm trying to connect to said opc da server on a remote machine.

If I use OPC Scout V10 everything looks fine - but when I try to connect using Siemens' COMDA client or one of their example programs like 21043779_Csharp_OPCClient_RCW_CODE\OpcClientDA_V2

I get errors that finally point to a 0x80070005 E_AccessDenied

  • Firewalls are disabled on both systems, Server system is setup for remote access as can be seen in OPC Scout which works locally on the server AND on the remote machine ...

My question is - why is opc scount able to access the opc server and pull various variables while my client software on the same machine and using the same account gets errors ?

What can I do to finally enable the opc communication not only using opc scout ? End result should be read and write access to said opc variables

asked on Stack Overflow Jul 22, 2020 by eagle275

1 Answer


User contributions licensed under CC BY-SA 3.0