Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows XP 64bit (intel) issue: Unable to load DLL 'nianlys.dll': the specified module could not be found

Hi, 

 

I am trying to distribute my application using "setup/deployment" program comes with microsoft visual studio 2008. I am using Mesurement Studio for almost 1.5 years and distributing my software exactly same way as I am trying now. I have recently updated Measurement Studio to version 2009 (version 8.9), with the hope that I can take advantage of 64bit OS for some of my memory intensive processing. Currently, I have been deploying my tool to 64bit windows XP, but as x86 mode. Essentially, I have one installation/setup program that works for both 32 bit and 64bit windows XP (Intel processor, x86 compilation) without any issue, becasue they essentially run in 32bit mode in both type of OS.

 

Now I am facing apparently a very common problem, nianlys.dll not registering appropriately. I have trying a lot of things. I can get my program running fine in a 32bit XP, but not in 64bit XP. I tried solution http://digital.ni.com/public.nsf/allkb/690F1BC39ADC1C1C8625737900659BD6 (which is install using "setup.exe"), but it doesn't really work for 64bit XP.

 

I have literaly uninstalled all applications that requires NI measurement studio. Went to c:\windows\assembly directory and uninstalled all NI stuff (packages), with the hope that it will be 100% clean installation next time I try to install application. I tried registering nianlys.dll manually and it didn't work. I have tried a fresh install in a windows 7 machine also and it gave me same problem.

 

So after all these, what can I do to fix this issue? Any suggestions?

 

Thanks in advance.

0 Kudos
Message 1 of 4
(5,713 Views)

Hi Ruhul,

 

To ensure we are setting everything up correctly, I would recommend taking a look at a few documents in the Measurement Studio Help, for instance, the "Deploying Windows Applications" section and the "Merge Modules and Deployment Files" section. 

Cheers,
Kelly R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(5,668 Views)

One other thing to note when troubleshooting, is that nianlys.dll is an unmanaged DLL, so there are both 32-bit and 64-bit versions of this DLL that are stored in separate locations.  Additionally, the 64-bit nianlysis.dll requires that the 64-bit MKL DLLs are installed on the system.  You may see this error if you have either the incorrect version of the nianlys.dll or if you do not have the appropriate MKL DLLs installed.

 

 

0 Kudos
Message 3 of 4
(5,616 Views)

Hello,

 

i had a similar case. I tried to install my application in win7 64bit. Ans it works only with the 32bit Version.

 

The problems was the installation path C:\Programs(X68)\.

 

Hope this helps.

 

schwede

0 Kudos
Message 4 of 4
(4,823 Views)