Error 42 When Building Application When Using LabVIEW

Updated Mar 30, 2026

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module

Issue Details

  • Why am I encountering Error 42 when building an application?
  • After mass compiling, no error shown, but I am still encountering the same issue. Why?

Solution

You will need to go into LabVIEW.ini file and add the configuration setting NewAppBuilderCache.Enabled=False, setting it to false forcing it to use legacy mode application builder. 

File path to find LabVIEW.ini:

  • For 32-bit editions, C:\Program Files (x86)\National Instruments\<LabVIEW version>\
  • For 64-bit editions, it is C:\Program Files\National Instruments\<LabVIEW version>\