Hi, I'm struggling to connect to an OPCWorx server, which is provided by Red Lion Controls. This server is running on the same Windows 10 VM that my Ignition gateway (v8.3.9) is on. The progID shows up automatically when configuring the connection:
After saving the config, I get the error below. I'm able to successfully browse tags from this server using the Matrikon OPC Explorer. I went through (almost) all of the steps on this page: OPC COM | Ignition User Manual, with the exception of the "OPC Server DCOM Settings" section at the end since I'm unable to identify an entry corresponding with the OPC server.
In case it's relevant, I'm seeing a few DCOM events in the Windows Event Viewer like this:
A bit strange that the APPID and SID are not populated. Any suggestions on what I can look at next?
Jeremy
java.lang.IllegalStateException: The server did not indicate that it was ready to receive connections.
at com.inductiveautomation.opccom.COMServerImpl$3.run(COMServerImpl.java:465)
at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:557)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
I've used OPCExpert in the past to troubleshoot OPC-DA things. The free version runs four hours at a stretch. It might give you some insight.
Didactic warning ahead...


That particular error usually pops up because the Windows Security Center service is configured with a delayed startup. WscDataProtection tries to communicate early before wscsvc has finished starting. That can be fixed by turning of the DelayedAutoStart flag. IIRC, that has to be done through the registry editor.
I've also seen this happen if OneDrive is a startup app.
Appreciate the advice, @JordanCClark. I tried OPCExpert per your suggestion and got the following error:
I registered both of the DLLs recommended (they were packaged with the OPCExpert software in the "General OPC Files" folder), but I get the same error upon closing and restarting OPCExpert.
Per your second suggestion, I tried setting the value of the registry entry Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc\DelayedAutoStart from 1 to 0. I have the same error in both the Ignition gateway and OPCExpert after rebooting my VM.
Any other thoughts?
Thanks,
Jeremy
Also, for what it's worth, I'm able to connect and browse tags on the server if I DON'T run OPCExpert as admin. There's a warning when launching the software that running as a non-admin user can cause "unexpected failures", but it seems to be the opposite case for me.
Interestingly, I have the same behavior with the Matrikon OPC Explorer program. It works fine when run as a normal user, but I cannot connect or browse tags when running as admin.
Curious whether that indicates any possible issues for Ignition connecting?