LabVIEW Error: Cannot Cache Products Because Cache Directory Requires Administrative Privileges

Updated Aug 6, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module

Issue Details

I am seeing an error while making an installer that says "Cannot cache products because cache directory requires administrative privileges"

Solution

The following two things may resolve the issue:
1. Change the destination directory to see if the problem persists.
2. Run LabVIEW as administrator (Right-click > Run As Administrator).

Additional Information

When LabVIEW is trying to change a file or folder outside of the LabVIEW environment, it requires privileges to do so. Sometimes operating systems raise a flag when a program tries to change something outside of the program. Running LabVIEW with administrator privileges may prevent some errors relating to writing or changing files in the operating system.

WAS THIS ARTICLE HELPFUL?

Not Helpful