Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

about .NET Licensing Patch for Visual Studio 2005???

Hello!
I have to use the Measurement Studio 7.1 .NET libraries with Visual Studio 2005,and I do not have Visual Studio 2003.
So I installed the .NET Framework 1.1 Redistributable and .NET 1.1 Framework SDK before installing Measurement Studio 7.1. 
Then I installed the patch, which is mentioned in Measurement Studio Version 7.1 for Windows 2000/XP -- .NET Licensing Patch for Visual Studio 2005.
But I meet the following license exception when I debug the program:
System.ComponentModel.LicenseException occurred
  Message="NationalInstruments.Net.DataSocket is unlicensed."
  Source="NationalInstruments.Common"
 
I check my Installation and there seems nothing wrong! I wonder why  there is the exception.
How can I get rid of the exception and use the Measurement Studio 7.1 .NET libraries with Visual Studio 2005 without Visual Studio 2003?
 
Best regard
 
Renee
 
    
0 Kudos
Message 1 of 4
(4,361 Views)
My system has:
Windows2000 sp4+ vs2005( without  vs2003 ) + Mesurement Studio7.1 + .net framework 2.0 + .net framework 1.1 + .net framewor 1.1 SDK + licensing Patch
"System.ComponentModel.LicenseException" is thrown in "nationalinstruments.common.dll" and "NationalInstruments.Net.DataSocket is unlicensed."
 
What is wrong? Can anybody give me some suggestion?
 
Regards
 
Renee
 
 

 
0 Kudos
Message 2 of 4
(4,353 Views)
The Measurement Studio tools that integrate into Visual Studio typically handle configuring your project correctly for licensing. Measurement Studio 7.1 was released long before Visual Studio 2005 was available. So, it unfortunately does not support Visual Studio 2005. You can use the libraries in Visual Studio 2005, but you have to handle the licensing yourself, manually.
 
The Measurement Studio help includes a help topic that describes how to handle the licensing manually. Check out the topic titled, "Licensing Measurement Studio .NET Class Libraries without Integrated Tools". To navigate to it in the table of contents, go to NI Measurement Studio Help>>NI Measurement Studio .NET Class Library>>Using the Measurement Studio .NET Class Libraries>>Licensing the Measurement Studio .NET Class Libraries>>Licensing Measurement Studio .NET Class Libraries without Integrated Tools.
 
I think that this topic will help you. I suspect that you just need to add a line to your .licx file to license the DataSocket class library.
 
Let me know if the topic helps, if not, please answer the following questions:
 
Do you have a .licx file in your project? What are the contents of the .licx file? Could you attach it to your response?
 
When looking for the license file, make sure that you configure the Solution Explorer window to show all files. The attached .bmp shows the toolbar button you need to click (circled in red) to make Solution Explorer show all files.

Message Edited by drohacek on 06-16-2006 09:59 AM

Message Edited by drohacek on 06-16-2006 09:59 AM

0 Kudos
Message 3 of 4
(4,343 Views)
Hi!
Yes, this topic really helps me. I created a licenses.licx manually and included it in the project. Now there is no license exception.
Thank you very much!Smiley Very Happy
 
Best regards
 
Renee
 
 
 
 
0 Kudos
Message 4 of 4
(4,320 Views)