Error -1172 From .NET DLL When Running In LabVIEW Executable

Updated Jun 15, 2018

Reported In

Software

  • LabVIEW

Issue Details

I have an application that uses a .NET DLL and my code works fine in the development environment in LabVIEW.  When I build the code into an executable it causes Error -1172 "Invoke Node Error calling method...".  Why does it do this and how do I fix it?

Solution

When a .NET driver is called from an executable the DLL needs to be in the same directory as the executable.  If you move the DLL to the same folder as the executable the problem should be fixed. 

WAS THIS ARTICLE HELPFUL?

Not Helpful