Connect failed to OPC DA 1.0a InProc (DLL) server
Posted: 04 Nov 2022, 16:20
Hi,
I'm trying to connect to Honeywell Alcont OPC DA 1.0a (InProc DLL) server but connection fails. Trace says "Connect failed" but I can't figure out what is the problem. I followed this instruction https://documentation.unified-automation.com/uagateway/1.4.5/html/configtool_serverconfig.html#force_com_inproc
Trace says:
12:39:30.443Z|4|1D2C* ==> DaServer::connect URL=opcda://localhost/Alcont.OPCServer.1
12:39:30.443Z|3|1D2C* Performance warning DaServerCom::connect - No CLSID in passed URL 'opcda://localhost/Alcont.OPCServer.1'
12:39:30.444Z|3|1D2C* Ctor CmnClient - initialized COM as MTA
12:39:30.444Z|3|1C4C* OPC COM HDA Channel Inactive
12:39:30.445Z|3|1C4C* OPC COM AE Channel Inactive
12:39:30.445Z|4|1D2C* CALL CoCreateInstanceEx
12:39:30.446Z|3|1C4C* OPC UA Channel Inactive
12:39:30.451Z|4|1D2C* DONE CoCreateInstanceEx
12:39:30.451Z|4|1D2C* CALL IOPCServerList::CLSIDFromProgID
12:39:30.451Z|4|1D2C* DONE IOPCServerList::CLSIDFromProgID
12:39:30.452Z|3|1D2C* Ctor DaServerMgtPrivate - initialized COM as MTA
12:39:30.452Z|4|1D2C* CALL CoCreateInstanceEx
12:39:30.460Z|4|1D2C* DONE CoCreateInstanceEx
12:39:30.460Z|4|1D2C* CALL IOPCServer::QueryInterface (IID_IOPCBrowse)
12:39:30.460Z|4|1D2C* DONE IOPCServer::QueryInterface
12:39:30.460Z|4|1D2C* CALL IOPCServer::QueryInterface (IID_IOPCItemProperties)
12:39:30.461Z|4|1D2C* DONE IOPCServer::QueryInterface
12:39:30.461Z|4|1D2C* CALL IOPCServer::QueryInterface (IID_IOPCBrowseServerAddressSpace)
12:39:30.461Z|4|1D2C* DONE IOPCServer::QueryInterface
12:39:30.461Z|2|1D2C* Connect failed to OPC Server opcda://localhost/Alcont.OPCServer.1
12:39:30.461Z|3|1D2C* Continue to try connect
12:39:30.461Z|4|1D2C* <== DaServer::connect
Is there some configuration/setting I should try?
Best Regards,
Janne
I'm trying to connect to Honeywell Alcont OPC DA 1.0a (InProc DLL) server but connection fails. Trace says "Connect failed" but I can't figure out what is the problem. I followed this instruction https://documentation.unified-automation.com/uagateway/1.4.5/html/configtool_serverconfig.html#force_com_inproc
Trace says:
12:39:30.443Z|4|1D2C* ==> DaServer::connect URL=opcda://localhost/Alcont.OPCServer.1
12:39:30.443Z|3|1D2C* Performance warning DaServerCom::connect - No CLSID in passed URL 'opcda://localhost/Alcont.OPCServer.1'
12:39:30.444Z|3|1D2C* Ctor CmnClient - initialized COM as MTA
12:39:30.444Z|3|1C4C* OPC COM HDA Channel Inactive
12:39:30.445Z|3|1C4C* OPC COM AE Channel Inactive
12:39:30.445Z|4|1D2C* CALL CoCreateInstanceEx
12:39:30.446Z|3|1C4C* OPC UA Channel Inactive
12:39:30.451Z|4|1D2C* DONE CoCreateInstanceEx
12:39:30.451Z|4|1D2C* CALL IOPCServerList::CLSIDFromProgID
12:39:30.451Z|4|1D2C* DONE IOPCServerList::CLSIDFromProgID
12:39:30.452Z|3|1D2C* Ctor DaServerMgtPrivate - initialized COM as MTA
12:39:30.452Z|4|1D2C* CALL CoCreateInstanceEx
12:39:30.460Z|4|1D2C* DONE CoCreateInstanceEx
12:39:30.460Z|4|1D2C* CALL IOPCServer::QueryInterface (IID_IOPCBrowse)
12:39:30.460Z|4|1D2C* DONE IOPCServer::QueryInterface
12:39:30.460Z|4|1D2C* CALL IOPCServer::QueryInterface (IID_IOPCItemProperties)
12:39:30.461Z|4|1D2C* DONE IOPCServer::QueryInterface
12:39:30.461Z|4|1D2C* CALL IOPCServer::QueryInterface (IID_IOPCBrowseServerAddressSpace)
12:39:30.461Z|4|1D2C* DONE IOPCServer::QueryInterface
12:39:30.461Z|2|1D2C* Connect failed to OPC Server opcda://localhost/Alcont.OPCServer.1
12:39:30.461Z|3|1D2C* Continue to try connect
12:39:30.461Z|4|1D2C* <== DaServer::connect
Is there some configuration/setting I should try?
Best Regards,
Janne