Measurement Studio Licensing Errors When Compiling Code

Updated Mar 10, 2020

Reported In

Software

  • Measurement Studio

Issue Details

  • When I compile my project, a LicenseException is thrown.
  • I have updated my computer details for Volume Licence Manager and  it has issued me with a licence to compile my application. However, I can't compile as I receive an error saying that my licence is not active. 

Solution

  1. The libraries you are attempting to use are not included in the edition you have activated. Use NI License Manager to change your licenses, enable evaluation mode, or purchase a different edition of Measurement Studio .
  2. The .licx file for your project is missing or incorrect. Refer to .NET Language Compilers and the .licx File for information on updating the .licx file content either manually or using Visual Studio-integrated tools.
  3. You have a compile-only license , and your .licx file is not up-to-date. You need to update your .licx file manually. Refer to Manually Adding or Updating Entries in an .licx File for more information.
  4. Your license is in an invalid state. You have three options:
    • use NI License Manager to activate your licenses
    • use the Measurement Studio menu to activate your licenses
    • select Evaluate Products in the Licensing and Activation dialog box if you are still within the Measurement Studio evaluation period.
  5.  Update NI License Manager o the most up-to-date version. 

Additional Information

For Licencing Errors in Measurement Studio when Designing, Running or Deploying your code please look at the following article: Troubleshooting Measurement Studio Licensing Errors.