
Stitch35
Member
Members
Forum Posts: 9
Member Since:
06/04/2018
06/04/2018

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:
Guest(s) 14
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1454
Posts: 4926