This VI is not Executable Error

Updated Aug 6, 2018

Reported In

Software

  • LabVIEW

Other

Primary Software: LabVIEW Run-Time Engine
Primary Software Version: 8.2 or Later
 

Issue Details

I have a LabVIEW executable that will run on some Windows computers but not others. When trying to run the executable, I receive the error This VI is not executable. The full development version of LabVIEW is required to fix the errors, as shown below:

I have installed the correct version of LabVIEW Run-Time Engine and all necessary drivers. What is the cause of this error?

Solution

The cause of this is often an outdated version of the .NET framework on the non-development computer.  To resolve the issue, you should upgrade .NET framework to at least the version that is installed on the development machine.

You can download the current version of .NET framework from Microsoft's website.

Check Additional Information for information on determining what version of .NET you have installed.

Updating .NET does not solve the error or if you are already on the latest version, you could try to debug the executable remotely, to identify where the error is occurring at. This will give you more information on what might be the cause of the error.

Another good step to try is a mass compile on your project. More information on why this can be helpful can be found in the Additional Information section of this document.
 

Additional Information

You can check the versions of .NET installed on Windows by following the steps below:
  1. Click Start » Run (Alternatively press Windows Key + R)
  2. Type regedit in the Run dialog box.
  3. In the Registry Editor navigate to HKEY_LOCAL_MACHINE » SOFTWARE » Microsoft » .NET Framework to view all versions of .NET Framework.

When mass compiling, LabVIEW opens and closes VIs automatically. This does the following:
  • Ensures that all subVIs exist and relinks them to the main VI. It decreases loading time since LabVIEW will not need to search for the VIs.
  • Updates the VIs to the current LabVIEW version.
  • Reports corrupted VIs which can prevent them from loading correctly.

WAS THIS ARTICLE HELPFUL?

Not Helpful