godsharp / opcsample

Opc Sample
https://godsharp.github.io/opcsample/
35 stars 14 forks source link

Cannot connect to OPC server #7

Open avnet78 opened 1 year ago

avnet78 commented 1 year ago

I have registered the opcdaauto.dll and now I am seeing another exception in the logs:

System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) at OPCAutomation.IOPCAutoServer.Connect(String ProgID, Object Node) at GodSharp.Opc.Da.OpcAutomationClient.OnConnect() at GodSharp.Opc.Da.OpcDaClient.Connect() at RigCLOUDOPCDA.Reader.Program.EstablishOPCConnection(Boolean disconnect)

Please advise.

seayxu commented 1 year ago

Have you solved it?