Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
1 ratings:
 4 out of 5   

Archived: Why Are Measurement Studio 2010 SP1 Controls and Class Libraries Unlicensed in Visual Studio 2010?

This document has been archived and is no longer updated by National Instruments



Primary Software: Measurement Studio>>Measurement Studio for .NET Support
Primary Software Version: 2010
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I installed Measurement Studio 2010 SP1 on my Windows Vista or Windows 7 machine, to be used with Microsoft Visual Studio 2010 or Microsoft Visual Studio 2010 Express. I activated Measurement Studio using my serial number, but the Measurement Studio controls and class libraries are unlicensed. How do I install and activate Measurement Studio 2010 SP1 to correctly license my controls?

Solution:
This issue occurs whenever you freshly install Measurement Studio 2010 SP1 onto a computer running Windows Vista or Windows 7, however it does not occur if you are upgrading from Measurement Studio 2010 to Measurement Studio 2010 SP1.

Measurement Studio 2010 SP1 introduced Known Issue 328010, which causes control and class library license checks to be dependent on a registry created by the Visual Studio Integration component of the Measurement Studio installer. The Measurement Studio controls and libraries demonstrate unlicensed behavior at run-time if this registry key is not present.

If you are using Measurement Studio 2010 SP1 with Visual Studio 2010, the issue can occur if you either choose not to install Visual Studio 2010 Integration from the Measurement Studio installer feature tree, or if you cannot install it because you do not have the necessary version of Visual Studio 2010 installed. If you are using Measurement Studio 2010 SP1 with Visual Studio 2010 Express, this issue occurs because you cannot install Visual Studio integration from the Measurement Studio installer feature tree because it is not compatible with Visual Studio Express.

To resolve this licensing exception, run Visual Studio 2010 as an administrator by right-clicking on the Visual Studio 2010 icon and selecting Run as Administrator. Next, you will need to build a Measurement Studio project. This only needs to be done once; the next time Visual Studio 2010 is opened, it can be run without administrator privileges.

Related Links:
KnowledgeBase 444DTFTG: Measurement Studio Support for Visual Studio Express Editions


Attachments:





Report Date: 05/07/2012
Last Updated: 12/21/2016
Document ID: 5X6FTSQW

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit