Showing results for 
Search instead for 
Did you mean: 

Error -2147221164 occurred at Class not registered in DIAdem Open Connection

I am launching DIAdem through LabVIEW and I keep getting this error code.  I did install the DIAdem connectivity VIs and also followed the instructions to register DIAdem, but still getting nowhere.  This is a program that I have used on numerous systems before, so there is no programming issue.  It is occurring on this particular computer only.


Diadem Error.png

0 Kudos
Message 1 of 8

Hi SumTumWong,


What process did you follow to register with DIAdem? For this particular computer, what operating system are you using? Which version of DIAdem/LabVIEW are you using?

0 Kudos
Message 2 of 8

Thanks for the quick reply.  I did not register DIAdem manually.  It was installed from a disk so I assume Windows would register it.  I am using Windows 7, 32 bit, DIAdem 11.1, LV 2009 SP1.

0 Kudos
Message 3 of 8

Hey SumTumWong,


Looking up this error code, I believe it is occurring because of an unregistered DLL. Although you are correct in saying that Windows should automatically register the reference, perhaps something out of the ordinary occurred. I'm going to look into which DLL you should register, and see if that resolves the issue.

0 Kudos
Message 4 of 8

Yes, I found that information already and did try to re-register the DLL, but it still does not work.

0 Kudos
Message 5 of 8

Hey SumTumWong,


Hmmm, very interesting. Did you use the install disk on your other (working) computers as well? Which DLL were you trying to re-register? I would maybe try reinstalling the toolkit to see if the connection is made properly.

0 Kudos
Message 6 of 8

ActiveX Servers
ActiveX servers can be in the form of dynamic link libraries (.DLLs) and executables (.EXEs). DLLs are registered like an ActiveX control with regsvr32 as in the previous section. However, when registering an .EXE, you must use call the .EXE file with the switch /RegServer as follows:

  1. Select Start » Run.
  2. Type the following in the dialog box that appears:
    <Full path of the .EXE file> /RegServer where <Full path of the EXE file> is the location of your EXE server (C:\TestStand\Bin\REngine.exe /RegServer).

          But in my system i dont have "REngine.exe" file, please replay me a sollution for this problem, where is it location and how to place this .exe file, this total problem for when i am sending mail from MSOutlook express.

0 Kudos
Message 7 of 8

Hey vamshikrishna,


I found a KnowledgeBase article that might be related to the issue:


As we suspected, it sounds like the DIAdem automation server might not be registering with Windows correctly. The safest way to fix this (and something that has worked for other customers in the fast) is to reinstall DIAdem.


I hope that works for you--if not, let us know and we'll look into other options. Good luck!

0 Kudos
Message 8 of 8