Receiving Error 42 While Building a LabVIEW Executable

Updated Aug 22, 2023

Reported In

Software

  • LabVIEW

Issue Details

I am trying to build an executable of my LabVIEW project. However when I do this I get a message that the build was unsuccessful and that error 42 ocurred. What can I do?
 

Solution

Error 42 is a LabVIEW generic error so it can mean several different things. While generating an executable it can mean that some of the files in the project or the project itself is corrupted. 

In order to determine if this is the case you can first do a mass compile of the project, In case the mass compile generates a LabVIEW crash you can copy all the files that were inside this project into a new one and mass compile this one. 

When the mass compile is completed, you should address appropiately the messages of the mass compile log . After doing this you should be able to generate an executable. 

Additional Information

Another way to deal with corrupted libraries or projects can be found in this link