# OPC-DA Connection Trouble

**URL:** <https://forum.inductiveautomation.com/t/opc-da-connection-trouble/17532>\
**Category:** Ignition\
**Created:** [March 28, 2018, 3:28pm UTC](https://forum.inductiveautomation.com/t/opc-da-connection-trouble/17532 "2018-03-28T15:28:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan.oprea](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@dan.oprea](https://forum.inductiveautomation.com/u/dan.oprea)\
**Post date:** [March 28, 2018, 3:28pm UTC](https://forum.inductiveautomation.com/t/opc-da-connection-trouble/17532/1 "2018-03-28T15:28:13Z")

</div>

Hi all,

I’m experiencing a problem in connecting Ignitions OPC DA to a Siemens WinCC OPC DA Server.

After going through all the pain in the world with all the DCOM settings, and failing to add the the server, I tried using some software (OPC Expert) to connect to the WinCC server, suspecting it would be a server side issue.

But, to my surprise, I can easily connect to the server with OPC Expert, yet in the Ignition Gateway the status is FAULTED.

I tried all the checkbox settings for the OPC DA connection, FAULTED nevertheless.

The error in the wrapper log is: Error connecting OPC-COM server.  
com.jniwrapper.win32.com.ComException: COM object method returns error code: 0x80040153; Invalid value for registry

I tried so many solutions, both from the forum, and from other forums, but none worked.

I will attach screenshots from the OPC client and Java log, maybe someone has a better idea than me.

Thanks for helping 🙂

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/850fe7b8603855411600ca2db8ee0397cc40618d.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 28, 2018, 3:34pm UTC](https://forum.inductiveautomation.com/t/opc-da-connection-trouble/17532/2 "2018-03-28T15:34:32Z")

</div>

Do you have 64-bit Ignition and a 32-bit COM server? Over local COM, 32-bit and 64-bit servers/clients won’t see each other.

If it’s remote/DCOM, the architecture can be different.

---

<div class="post-metadata">

**Author:** ![dan.oprea](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@dan.oprea](https://forum.inductiveautomation.com/u/dan.oprea)\
**Post date:** [March 28, 2018, 6:01pm UTC](https://forum.inductiveautomation.com/t/opc-da-connection-trouble/17532/3 "2018-03-28T18:01:26Z")

</div>

Thanks Paul,  
We’re talking about remote DCOM, and I understand there are some other issues regarding the DCOM security settings.  
I’ve used all the documents created by Matrikon, Kepware, etc, already.  
I even created same users and password for both the OPC server and Ignition.  
What bugs me is that browsing works, and I can read all the tags using OPC Expert, but somehow Ignition fails to establish a working connection …

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 28, 2018, 6:04pm UTC](https://forum.inductiveautomation.com/t/opc-da-connection-trouble/17532/4 "2018-03-28T18:04:31Z")

</div>

> [@dan.oprea](#):
>
> What bugs me is that browsing works, and I can read all the tags using OPC Expert, but somehow Ignition fails to establish a working connection ...

One big difference is that Ignition is running as a service (under the corresponding service user) whereas you're running other clients as an application under the user you're logged in as. That usually plays into the configuration somehow...
