connect to DA server in UA gateway configuration

Questions regarding installing, running and configuring UaGateway.

Moderator: uagateway

Post Reply
cdingeon
Jr. Member
Jr. Member
Posts: 1
Joined: 25 Jun 2013, 13:26

connect to DA server in UA gateway configuration

Post by cdingeon »

Hello

I try to connect an OPC DA server with an OPC UA client (UAExpert).
My server is configured properly in the configuration tool.
The configuration tool shows that it tries to connect/reconnect to the server.

When the server is already running (for example I started it manually), the gateway configuration does not connect to it but tries to start another instance of the server.

Is it possible to make the UA gateway connect to the running instance of the server, instead of create another instance ?

Thanks

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

Re: connect to DA server in UA gateway configuration

Post by Support Team »

Hello cdingeon,

when a COM client connects to a COM server that server is started with a context that is specified in the identity tab of the DCOM settings for that server.
see:
https://msdn.microsoft.com/en-us/librar ... s.85).aspx

Some products set that to "The launching user" which means the server runs in the same context as the client. That also means if multiple clients with different user context connect to the server you will see multiple instances of that server.
So in your case if the server is already running in a context other than system you create a new instance of the server.

To solve the issue you could set the Identiy to "This user" and specify a defined context for that COM server to run.

You can also define in which context the UaGateway is supposed to run.
see:
http://documentation.unified-automation ... gen_launch

Also see here for related topics:
https://forum.unified-automation.com/post2378.html
https://forum.unified-automation.com/post6516.html
Best regards
Unified Automation Support Team

Post Reply