Troubleshooting Measurement Studio Licensing Errors

Measurement Studio 2012 for Visual Studio 2010 Help

Edition Date: August 2012

Part Number: 372636F-01

»View Product Info
Download Help (Windows Only)

See Also


The following table details possible problems you might encounter when using Measurement Studio licensed class libraries. The first column of the table specifies when you will see the behavior.

Refer to Licensed Class Libraries Behavior and Licensing and Activation Dialog Box for more information.

Note: Clicking Exit/Cancel on the activation dialog results in an invalid license state, even if the license state is or can be Evaluation. When the activation dialog is shown, you must click on Evaluate Products or Activate Products to continue with a valid license state.
Timing Problem Solution
Design-time The Licensing and Activation dialog box is displayed when I use my evaluation software. You can activate or continue to evaluate Measurement Studio. If you choose to cancel, Measurement Studio components will have invalid license states. You can also purchase Measurement Studio from the Licensing and Activation dialog box.
When I try to drop a control, it fails. Your license is in an invalid state. You have three options: (1) use NI License Manager to activate your licenses, (2) use the Measurement Studio menu to activate your licenses, or (3) select Evaluate Products in the Licensing and Activation dialog box if you are still within the Measurement Studio evaluation period.
When I attempt to create a new Measurement Studio project or add a new item, Measurement Studio fails to create the project or add the new item. Your license is in an invalid state. You have three options: (1) use NI License Manager to activate your licenses, (2) use the Measurement Studio menu to activate your licenses, or (3) select Evaluate Products in the Licensing and Activation dialog box if you are still within the Measurement Studio evaluation period.
I don’t see the DAQ or Instrument I/O Assistants in the Measurement Studio menu. Your license is in an invalid state. You have three options: (1) use NI License Manager to activate your licenses, (2) use the Measurement Studio menu to activate your licenses, or (3) select Evaluate Products in the Licensing and Activation dialog box if you are still within the Measurement Studio evaluation period.
When I add a reference to a Measurement Studio library, the Licensing and Activation dialog box appears. Your license is in an invalid state. You have three options: (1) use NI License Manager to activate your licenses, (2) use the Measurement Studio menu to activate your licenses, or (3) select Evaluate Products in the Licensing and Activation dialog box if you are still within the Measurement Studio evaluation period.
When I open an existing project in the Designer that includes Measurement Studio controls, I get an error message. Your license is in an invalid state. You have three options: (1) use NI License Manager to activate your licenses, (2) use the Measurement Studio menu to activate your licenses, or (3) select Evaluate Products in the Licensing and Activation dialog box if you are still within the Measurement Studio evaluation period.
Compile-time When I compile my project, a LicenseException is thrown. 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.
- or -
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.
- or -
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.
- or -
Your license is in an invalid state. You have three options: (1) use NI License Manager to activate your licenses, (2) use the Measurement Studio menu to activate your licenses, or (3) select Evaluate Products in the Licensing and Activation dialog box if you are still within the Measurement Studio evaluation period.
Run-time When I try to run my project or compiled program, a LicenseException is thrown. The .licx file for your project is missing or incorrect. Refer to .NET Language Compilers and the .licx File for information on creating the .licx file content either manually or using visual studio-integrated tools.
- or -
You compiled your program during the evaluation period and the evaluation period has since expired. Recompile your application after activating Measurement Studio to get fully enabled behavior. Refer to Licensed Class Libraries Run-Time Behavior for more information.
- or -
Your application is using a WPF custom control or a control with a template from a licensed library but the application does not include an .licx file. Add an .licx file to your application. Refer to Licensed Class Libraries Run-Time Behavior for more information.
Deployment I get a Web page showing a LicenseException, or I get errors when I deploy my Web Forms project. You have a missing or invalid App_Licenses.dll file in your Web Forms project. To re-generate the App_Licenses.dll file, right-click on the licenses.licx file and select Build Runtime Licenses.
My deployed application is exhibiting evaluation behavior (i.e., the Measurement Studio Licensing and Activation dialog box appears). You compiled your application while Measurement Studio licenses were in the evaluation state. Recompile your application after activating Measurement Studio to get fully enabled behavior.
When I try to run my compiled program, a LicenseException is thrown. Your compiled program uses Measurement Studio controls at run time in a design-time context. To use Measurement Studio controls at run time in a design-time context, you must install Measurement Studio on the target machine and the Measurement Studio license on the target machine must be in a valid license state. The Measurement Studio license type on the target machine must be the same as on the development machine.
Note: If you are using NI Volume License Manager and you are experiencing invalid license behavior, contact your volume licensing administrator or refer to Using a Volume Licensing Server in the NI License Manager Help.

See Also

WAS THIS ARTICLE HELPFUL?

Not Helpful