Having problems with OPC-DA COM Connection

Hi,
I’m having problem connecting to the Matrikon OPC Server. I have tried multiple number of times and even installed the 64bit version of OPC core components.
COM object method returns error code: 0x80070005; E_ACCESSDENIED (Access is denied.), this is the error that is being displayed.

Regards,
Soumya

You may have better luck if you adjust the Ignition service to run as a domain account that has permissions to connect to the remote OPC server–DCOM is notoriously fickle with permissions.

Hi,

Can you please guide how to do that?

Regards,
Soumya Gupta

You can change the account used to run the Ignition Gateway service in the services.msc console, similar to what you’d do to setup Ignition to connect to SQL Server with Windows Authentication.