Error 129 When Building a LabVIEW Application or Real-Time Executable

Updated Feb 7, 2024

Reported In

Software

  • LabVIEW Application Builder Module

Operating System

  • Windows

Issue Details

I built a LabVIEW project which calls SubVIs within. The whole project and/or the SubVIs are located in folders that have a long file path e.g. on Network drives. Now when I want to use the LabVIEW Application Builder to build an executable, the build fails the Application Builder displays the error 129 message:

Error 129 occurred at <function inside the SubVIs>
Possible reason(s):
LabVIEW: (Hex 0x81) The path to access is too long for the current operating system.
How can I fix this error, in order to build my executable successfully?
 
 

Solution

This error occurs if the called SubVI's path (in this example the SubVI that includes a "Create Folder" function) is too long and exceeds a value of around 255. 
 
  • Use a shorter destination path, like C:\Your_File
destination path.png
  • Ensure that your file path is not pointing to an incorrect drive, such as a CD or DVD drive. 
  • For an application or shared library builds, place a checkmark in the Use LabVIEW 8.x file layout checkbox on the Advanced page of the build specification Properties dialog box.
rtaImage.jfif