Error -14 Occurred at MDFCommon_Open.vi in LabVIEW Application Builder

Updated Dec 28, 2023

Reported In

Software

  • LabVIEW Application Builder Module

Other

  • Endpoint Management Tool CyberArk

Issue Details

When I try to open or create an installer build specification in LabVIEW I get error 

Error -14 occurred at Error -14 occurred at MDFCommon_Open.vi.
MDF library missing. Reinstall NI software.

 
Error 14.png

Solution

MDF is the framework that is used by Installer Builder to build installers, so installer builder calls into the MDF libraries whenever you do anything with an Installer build spec If it's failing, a repair/reinstall may be required. Specifically, Installer Builder is calling into C:\Program Files\National Instruments\[LabVIEW 20xx]\resource\NIMdf.dll, which has a function MDFCommon_Open, which is returning error -14.

This error can happen if the software (LabVIEW) is blocked or if the NIMdf.dll file was deleted by any security software. This issue has been reported when Endpoint Management Tool CyberArk is blocking LabVIEW privileges. To solve this:
 
  1. Grant LabVIEW the corresponding permissions to address this if the DLL lives in the system.
  2.  Repair your software (LabVIEW) if the DLL is missing.