LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC: Data socket returns 0x80040154 (REGDB_E_CLASSNOTREG)

Solved!
Go to solution

The CVI OpcClient-Demo says "Class not registered", but the OPC server is running (on localhost) and a non-CVI OPC client can connect to it. Tried with 9.0 and 2010SP1 Runtime, it's Windows XP Pro 2002 SP3.

 

Can someone give a hint where to look, at the CVI part or the server? Thanks.

-----------------------
/* Nothing past this point should fail if the code is working as intended */
0 Kudos
Message 1 of 2
(3,796 Views)
Solution
Accepted by topic author CVI-User

SOLVED

 

I just installed the runtime and copied the exe to the target. That doesn't work.

 

After I build a distribution with NI DataSocket component and installing it the copied OpcClient works. Even after uninstalling said distribution...

 

-----------------------
/* Nothing past this point should fail if the code is working as intended */
0 Kudos
Message 2 of 2
(3,785 Views)