I have some problem about integrate OPC DA of WinISA Server to ignition **7.9.17 (b2021010514)**
OPC server details:
- Name: WinISA Server
- ProgID: WinISA Server
- Clsid (GUID): {E35A88E0-82F9-4FAF-B417-2E369C1668C4}
I can see the OPC Server using OPC DA Client, but when i try to use ignition show the next error
com.jniwrapper.win32.com.ComException: COM object method returns error code: 0x80040154; REGDB_E_CLASSNOTREG (Class not registered)
at com.jniwrapper.win32.com.ComException.checkResult(SourceFile:172)
at com.jniwrapper.win32.com.ComFunctions.coCreateInstanceEx(SourceFile:230)
at com.inductiveautomation.opccom.COMServerImpl$ConnectServerJob.internalRun(COMServerImpl.java:662)
at com.inductiveautomation.opccom.wrapper.OleJob.run(OleJob.java:48)
at com.jniwrapper.win32.MessageLoopThread$ThreadSynchronizedAction.run(MessageLoopThread.java:620)
at com.jniwrapper.win32.MessageLoopThread$LoopThread.run(MessageLoopThread.java:562)
7.9.17 (b2021010514)
Oracle Corporation 1.8.0_311
We have the module OPC COM INSTALLED
Please some one help us
Hey! I’ve run into a similar issue with OPC DA integration before, so I totally understand the frustration. The error you're seeing, REGDB_E_CLASSNOTREG
, typically indicates that the COM server (in this case, the WinISA Server
) isn’t properly registered on your system. Even though the OPC DA client can see the server, Ignition is unable to access it because the necessary COM class is not registered in the Windows Registry.
What worked for me in a similar case was ensuring that both the OPC server and Ignition have the correct permissions to interact with each other. You might want to check if you’ve registered the WinISA Server
COM object correctly using regsvr32
(for Windows) to register any missing DLLs or OCX files. Also, make sure you’re running both Ignition and the OPC DA client with the same user privileges (preferably as Administrator).
It’s also worth making sure that you’re using the right version of Java that’s compatible with your OPC server and Ignition version. Sometimes updating Java or adjusting the Java version in the Ignition configuration can fix connection issues.
By the way, I came across this helpful SCADA guide that dives deeper into troubleshooting SCADA and OPC server connections in Ignition. It might be useful for further steps.
Hopefully, this helps! If you’ve already tried these, let me know what you find and I can help troubleshoot more.