Login  
Search All Forums
Dart Home | PowerSNMP for ActiveX | Custom Development Reply | PowerSNMP for ActiveX Topics | Forums   
AuthorForum: PowerSNMP for ActiveX
Topic: SNMP LIcense error
NSLRACER

From: los angeles, CA USA
Posts: 3
Member Since: 05/18/06
posted May 18, 2006 6:23 PM

I keep getting this error whenever I try to run the VB/ASP SNMP Manager sample page.

This PowerTCP product has not been added to the Project's licenses.licx file. If your Project does not have a licenses.licx file already, you must create a text file named "licenses.licx" and add it to your PROJECT (not the Solution). You must then add the following line to the file: 'Dart.PowerSNMP.Manager, Dart.PowerSNMP' If the project already contains a licenses.licx, simply append this line to the file. For more information, please see the "Creating the Licenses.licx File" page in the Online Help. ***IMPORTANT*** Any time you make changes to the licenses in your project, you MUST REBUILD (not Build or Start!) the PROJECT (not the Solution!) that contains the reference to the licensed DLL, or the changes will not be built into the application. Also, please be aware that any Project that ultimately references a Dart DLL must also include a licenses.licx file, and be compiled on a licensed machine. This includes, for example, an executable that references a class library, that in turn references a Dart DLL.

I went ahead and ensured that the licenses.licx file is there and that it includes the necessary line. I opened up the Build menu>Rebuild SNMPManager and that rebuilt the project. But I'm still getting the error.

Any suggestions?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted May 18, 2006 6:27 PM

What version of Visual Studio are you using?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted May 18, 2006 6:29 PM

Also, a note to future readers of this post:

The poster is actually using PowerSNMP for .NET, not ActiveX like the forum name implies.

NSLRACER

From: los angeles, CA USA
Posts: 3
Member Since: 05/18/06
posted May 18, 2006 6:29 PM

Visual Studio 2003
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted May 18, 2006 7:00 PM

Looks like somebody (that would be me) didn't add the licx correctly in the sample. Please do the following:

1) Open the project in VS2003
2) In the Solution Explorer, select the project
3) Click "Show All Files" at the top of the Solution Explorer
4) Right click the licenses.licx file and select "Include in Project"
5) Set the Build Action to "Embedded Resource"
6) Rebuild

NSLRACER

From: los angeles, CA USA
Posts: 3
Member Since: 05/18/06
posted May 18, 2006 7:49 PM

That worked beautifully. Thanks.
Reply | PowerSNMP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX