Dieser Inhalt liegt nicht in Ihrer bevorzugten Sprache vor.

Der Inhalt wird Ihnen in einer anderen verfügbaren Sprache angezeigt. Ihr Browser bietet ggf. Funktionen, die Sie bei der Übersetzung des Textes unterstützen.

LabVIEW Generic Error: File Could Not Be Loaded.

Updated Aug 18, 2022

Reported In

Software

  • LabVIEW

Issue Details

When I build a new project in LabVIEW I receive the following errors: 

LabVIEW: Generic file I/O error
The file could no be loaded.
The VI is not executable. The full development version of LabVIEW is required to fix the errors.


When I am trying to open a LabVIEW VI I get the following error:


 

I have not received this error before, but now it shows up anytime I try to open it.

Solution

The cause of these errors could be not saving your dependencies in the same location as your project file. To resolve these file I/O errors, follow the steps below:
  1. In your Project Explorer window, right click on your project file (.lvproj) and click Show in Files View.
  2. Go to the Files tab and verify that your project and all project items are saved in the same location.
  3. If any project items are not saved in the same location as the project, move them to where the project is saved. 
The cause of this could also be an outdated version of the .NET framework on the non-development computer.  To resolve this issue, see the article This VI is not Executable Error.

The cause of this could also be VI corruption. In case a VI corruption happens you should work on a backup copy, if available. For information on source code control software that can manage VIs and backups refer to Software Configuration Management and LabVIEW .
 

Additional Information

  • A LabVIEW generic error combined with the failure to load a VI usually means that the VI got corrupted. VI corruption can be caused by a wide range of reasons such as an internal LabVIEW error while saving or an improper shutdown of the VI, such as after a power failure. 
  • For information related to LabVIEW Library or File Corruption refer to Project or Library File Is Corrupt - Troubleshooting Steps.