Stitch35
Member
Members
Forum Posts: 9
Member Since:
06/04/2018
06/04/2018
Offline
Type typeServer = Type.GetTypeFromProgID(“OPCAEServer”, “localhost”);
string serverUrl = typeServer.GUID.ToString();
Opc.Ae.Server server = new Opc.Ae.Server(fact, null);
Opc.URL url = new Opc.URL(serverUrl);
server.Connect(url, new Opc.ConnectData(new System.Net.NetworkCredential()));
Â
Exception
ExternalException: CoCreateInstanceEx: The server threw an exception.
Opc.ConnectFailedException: ‘E_NETWORK_ERROR
Could not connect to server.’
1. path to connect Opc.Ae.Server
Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: Randy Armstrong
Guest(s) 39
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1445
Posts: 4888