# Configure Kepware in Ignition

**URL:** <https://forum.inductiveautomation.com/t/configure-kepware-in-ignition/3135>\
**Category:** Ignition\
**Created:** [July 27, 2011, 9:02pm UTC](https://forum.inductiveautomation.com/t/configure-kepware-in-ignition/3135 "2011-07-27T21:02:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgele](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cgele/32/3453_2.png) [@cgele](https://forum.inductiveautomation.com/u/cgele)\
**Post date:** [July 27, 2011, 9:02pm UTC](https://forum.inductiveautomation.com/t/configure-kepware-in-ignition/3135/1 "2011-07-27T21:02:05Z")

</div>

I’m having some difficulty configuring Kepware Server EX V5.6 in Ignition. I have tried both OPC UA and OPC DA device types. I probably have some setting incorrectly set. Any suggestions?

Here is the error message I get from the OPC Connections page.

com.jniwrapper.win32.com.ComException: COM object method returns error code: 0x80040154; REGDB\_E\_CLASSNOTREG (Class not registered)  
com.jniwrapper.win32.com.ComException.checkResult(SourceFile:172)  
com.jniwrapper.win32.com.ComFunctions.coCreateInstanceEx(SourceFile:229)  
com.inductiveautomation.opccom.COMServerImpl$ConnectServerJob.internalRun(COMServerImpl.java:717)  
com.inductiveautomation.opccom.wrapper.OleJob.run(OleJob.java:47)  
com.jniwrapper.win32.MessageLoopThread$ThreadSynchronizedAction.run(MessageLoopThread.java:566)  
com.jniwrapper.win32.MessageLoopThread$LoopThread.run(MessageLoopThread.java:508)

Thanks,  
Chris

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [July 27, 2011, 9:11pm UTC](https://forum.inductiveautomation.com/t/configure-kepware-in-ignition/3135/2 "2011-07-27T21:11:12Z")

</div>

That error, from the OPC-COM module, indicates that Kepware or the OPC Core Components aren’t installed properly.

You could try re-installing, or getting the OPC Core Redistributable from [opcfoundation.org](http://opcfoundation.org).

However, in general we recommend going with the UA connection. Is there any particular error you’re getting on that front?

Regards,

---

<div class="post-metadata">

**Author:** ![cgele](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cgele/32/3453_2.png) [@cgele](https://forum.inductiveautomation.com/u/cgele)\
**Post date:** [July 27, 2011, 9:24pm UTC](https://forum.inductiveautomation.com/t/configure-kepware-in-ignition/3135/3 "2011-07-27T21:24:08Z")

</div>

Colby:

I have it working now (I’m not sure what was going on), but I can’t see any data points in the OPC Browser, although I can see the device in the drop down area. Is it possible that I don’t have it configured correctly?

Chris

---

<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:** [July 27, 2011, 9:26pm UTC](https://forum.inductiveautomation.com/t/configure-kepware-in-ignition/3135/4 "2011-07-27T21:26:11Z")

</div>

Have you configured your tags in Kepware? Nothing will show up in the browser that you haven’t added to that device.

---

<div class="post-metadata">

**Author:** ![cgele](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cgele/32/3453_2.png) [@cgele](https://forum.inductiveautomation.com/u/cgele)\
**Post date:** [July 27, 2011, 9:42pm UTC](https://forum.inductiveautomation.com/t/configure-kepware-in-ignition/3135/5 "2011-07-27T21:42:23Z")

</div>

The driver now shows that it is disconnected and I’m getting a warning.

BasicExecutionEngine Tried to unregister non existant unit [tcplistener:bacnettimeoutchecker]

I’m attaching the console log file just in case you need it.

[logs.bin.gz](https://us1.discourse-cdn.com/inductiveautomation/original/1X/d6fa5a95263ab1b4392b7b7bd26e7d90ee20431c.gz) (553 KB)

---

<div class="post-metadata">

**Author:** ![cgele](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cgele/32/3453_2.png) [@cgele](https://forum.inductiveautomation.com/u/cgele)\
**Post date:** [July 27, 2011, 9:44pm UTC](https://forum.inductiveautomation.com/t/configure-kepware-in-ignition/3135/6 "2011-07-27T21:44:02Z")

</div>

Kevin:

I did add the tags to the Kepware device and that’s when I noticed the driver was disconnected.

Chris

---

<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:** [July 27, 2011, 9:52pm UTC](https://forum.inductiveautomation.com/t/configure-kepware-in-ignition/3135/7 "2011-07-27T21:52:11Z")

</div>

Wait wait wait. Why are you connecting to Kepware and also configuring a driver?

---

<div class="post-metadata">

**Author:** ![cgele](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cgele/32/3453_2.png) [@cgele](https://forum.inductiveautomation.com/u/cgele)\
**Post date:** [July 27, 2011, 9:55pm UTC](https://forum.inductiveautomation.com/t/configure-kepware-in-ignition/3135/8 "2011-07-27T21:55:06Z")

</div>

Kevin:

Where should I configure the Kepware server in Ignition? OPC Connections or OPC-UA

Chris

---

<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:** [July 27, 2011, 9:57pm UTC](https://forum.inductiveautomation.com/t/configure-kepware-in-ignition/3135/9 "2011-07-27T21:57:52Z")

</div>

In OPC Connections.

It looks like you have configured a TCP driver in the OPC-UA \> Devices area; that should be removed.

Focus on the connection to Kepware, which from your logs, does not look to be successfully connected. Feel free to call into tech support if you need some help getting it set up.
