Measurement Studio for .NET Languages

Showing results for 
Search instead for 
Did you mean: 

unable to load dll nianlys.dll


i am having a strange problem with a measurement studio app i have written. using a VS2005 setup project, i have installed the app on a few computers with no problems. however, i just installed it on a vista laptop, and the program crashes straight away. i have managed to catch the exception, it is occurring when i initialise a high pass filter, the exception message is:

System.DllNotFoundException: Unable to load DLL 'nianlys.dll'
Exception from HRESULT: 0x8007045A

the dll is installed however, in Program Files/NI/Shared/Analysis

does anyone know how i can fix this?
0 Kudos
Message 1 of 4
Hi Kreuters,

My guess is that the registry key for where the nianlys.dll is located wasn't created during install. This sounds like an Vista issue I had a few months ago. I posted here about the issue.

See if that forum helps!

If not, let me know.

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 2 of 4
Hey Johnathon,

Yes, that was the same problem i was having. For anyone else who comes across this, the solution is to always install using the setup.exe rather than the .msi created by Visual Studio, otherwise Vista will not update the registry (even though there appear to be no problems during install)

0 Kudos
Message 3 of 4

Thanks, this is a great help!


My case is for Win7 - it only works if I run the setup.exe with admin privileges.

0 Kudos
Message 4 of 4