LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Class Not Registered : Error -2147221164

Let's see if anyone can solve this one :

I have a *.tlb file, and I'm using the "Automation Open" vi to open the file so that I can invoke methods on it.

This vi is giving me the following error "Class Not Registered : Error -2147221164". This is only happening on one of my computers.

Can anyone shed any light on this one?

Thanks, Gene
0 Kudos
Message 1 of 5
(8,737 Views)
You probably need to register it using regsvr32. You can run this from a command line.
Message 2 of 5
(8,737 Views)
The library seems to already be registerd. The class I'm selecting for my "Automation Refnum" input into the "Automation Open" vi, was selected from the "Type Library" dropdown menu inside the "Select Obj From Library" dialog box.

This is super frustrating! Can anyone figure this out?
0 Kudos
Message 3 of 5
(8,737 Views)
I am assuming from your response then that you have tried to use regtlib anyways. All I can find on the error says to register it again. Maybe try to un-register it and then re-register it. Here is a Knowledgebase that talks about the methods to register it.
How Do I Manually Register Type Libraries, ActiveX Controls, and ActiveX Servers?

One thing is to make sure you are logged in as an administrator. Also what version of LabVIEW and are you running this as a VI or an exe?
0 Kudos
Message 4 of 5
(8,737 Views)
Hi,

I had the exact same error message (except different error number) when trying to incorporate an ActiveX control into my LV project. The thing is this ActiveX control required a "Register" method to be called after opening it.

Hope that is useful information.
0 Kudos
Message 5 of 5
(8,737 Views)