Connect failed to OPC DA 1.0a InProc (DLL) server

Questions regarding installing, running and configuring UaGateway.

Moderator: uagateway

Post Reply
jihatsu
Jr. Member
Jr. Member
Posts: 1
Joined: 04 Nov 2022, 16:01

Connect failed to OPC DA 1.0a InProc (DLL) server

Post by jihatsu »

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

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: Connect failed to OPC DA 1.0a InProc (DLL) server

Post by Support Team »

Hi,

the UaGateway does not support DA1.0, we do support DA2/3 only, and the UaGateway will automatically decide to use DA3 or DA2 for the connection (whereas DA3 is prefered when both supported by the server). That said, you do not need to configure anything, all automatic.

Connection to inproc servers is not supported and not recommended, especially the Honeywell Alcont server is known to have multiple limitations. The errors in trace file may give you hint what is going wrong, but there is nothing you can configure/try do to fix the Honeywell.
Best regards
Unified Automation Support Team

Post Reply