07-12-2017 07:51 PM
Dear all,
There is an old labview software which used 32 bits dll file as activex server. It works good on the old computer with labview 2014 32 bits version. But on my new laptop, I installed both 2017 labview (32 bits and 64 bits) and 2014 labview (32 bits and 64 bits). They all can't open the activex server dll file with the error -2147221164, Class not registered. This is the same error when I am trying to use the 64 bits version to run on the old computer. But on the new laptop, I tried all the versions, no one works. Any help or advice for this?
Thanks.
Jason
Solved! Go to Solution.
07-12-2017 08:04 PM - edited 07-12-2017 08:05 PM
Generally this means that the ActiveX Server has not been registered; typically due to the lack of an installer or such for the server that would perform this action for you. Have you had a look at registering manually? http://digital.ni.com/public.nsf/allkb/4F811A9B23F1D46E862566F700615B7A
07-12-2017 08:15 PM
Thanks for your reply.
Yes, I already checked this. And I tried to register the .dll file as a server. But it showed the error:"This file does not have a program associated with it for performing this action.Please install a program or, if one is already installed, create an association in the Default Programs control panel.". I tried both the old desktop and the new laptop, it both showed the error when I tried to register the dll file. Do you know why this happen? And when I use the activex, I am actually using the browse to the dll file location, in this way, do I still need to register it also?
Thanks.
Jason
07-13-2017 12:22 PM
Update. The problem is solved. tyk007 is right, the dll file needs registered. I registered it successfully with the way in the link below. Make sure using the administrator permission. And keep the dll file bits the same as the labview. For me, they are all 32bits. Then it should be OK.
http://digital.ni.com/public.nsf/allkb/9ACB175F6DE483AE86256B2200776B8B?OpenDocument
Jason
03-30-2021 12:12 PM
I tried the solution.
Dialog pop out saying "DllRegisterServer in C:\Program Files(x86)\National Instruments\Shared\NI-Reports\nireports.dll. succeeded".
But I still got the same error after reboot the PC.
11-06-2023 07:41 AM
Hello,
I did it but I have an error message when I tried to regsiter when I used this command line as suggested in the link:
Could you help me please?
Best regards