Library Expired or Invalidly Licensed Error in LabVIEW

Updated Dec 10, 2021

Reported In


  • LabVIEW

Issue Details

  • I am trying to use the NI-IMAQdx VIs to acquire images from my camera. When I try to run my application, I receive the following error message: 
Library that contains the VI or item is not properly licensed. 

This VI or item belongs to a library that it is expired or not invalidly licensed. Activate the license of the library to edit or run the VIs and items the library owns. For more information on activating this VI or item's owning library, see the error message on this VI's or item's library. 
imaq image.jfif
  • When I open a VI that utilizes the LabVIEW Database Connectivity Toolkit, I receive the following error message: 
The LabVIEW Database Connectivity Toolkit is expired or invalidly licensed.

The LabVIEW Database Connectivity Toolkit is expired or invalidly licensed. To purchase this product, contact National Instruments" or "This computer is not licensed for this node. If you have a license, try repairing LabVIEW or the LabVIEW component using the "Add or Remove Programs" or "Programs and Features" control panel. If this error persists, contact National Instruments technical support.



This error can occur when a LabVIEW Toolkit library is not properly licensed or has not been installed correctly. To fix this issue, refer to the following steps:
  1. Check the toolkit's status in NI License Manager.
    • In case the issue relates to toolkits that do not appear in NI License Manager in normal conditions, such as the LabVIEW Internet Toolkit and the Desktop Execution Trace Toolkit, skip Step 1.
    • In case the issue relates to NI-IMAQdx API, the driver is installed with NI Vision Acquisition Software. The NI-IMAQdx is a licensed driver and requires a purchased license for each computer that is going to run programs that call its functions. With that, ensure the computer has an active license for the driver.
    • If the toolkit appears as unlicensed, please refer to this article for guidance activating NI software products.
    • If the toolkit the VI is part of is already licensed, ensure the requirements on the software version and edition are met. This can be done by checking LabVIEW Help Documentation or Readme files.
    • If the toolkit doesn't show up in NI License Manager at all:
      1. Navigate to C:\ProgramData\National Instruments\License Manager\Licenses and delete its associated license file, whose name should be named similar to LabVIEW_XXXXXXTK_PKG_XX0000.
      2. Download and install the toolkit in evaluation mode. If the software is no longer available online, learn how to download previous versions of NI software.
      3. Once complete, restart the computer and try to re-activate the software from NI License Manager. If the software is running in a virtual machine, reboot the entire host machine as well. 
  2. In case the issue persists, repair, reinstall or force reinstall the toolkit as it may be corrupt.
If all your licenses seem to be properly set and the error just suddenly started occurring, you should try rebooting your machine since your operating system could have failed at loading the appropriate references from LabVIEW and NI License Manager.