|Dart Home | PowerTCP FTP for .NET | Custom Development||Reply | PowerTCP FTP for .NET Topics | Forums|
|Author||Forum: PowerTCP FTP for .NET|
Topic: License failed after user profile rebuilt on PC
From: Indianapolis, IN USA
Member Since: 05/07/09
|posted May 7, 2009 10:05 AM
My PowerTCP library has been working just fine for several years. Recently we had a virus get loose in our corporate network, and as part of the fix my computer account was removed and added back to our domain. This evidently created a new user profile for my domain account on my local computer. Now I'm getting the LicenseException error when I try to build my app that includes the PowerTCP library.
So, in short, same developer, same PC, same license, but now I cannot run PowerTCP.
Here is the exact error thrown:
An unhandled exception of type 'System.ComponentModel.LicenseException' occurred in dart.powertcp.ftp.dll
Additional information: This 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). <continued...>
You must then add the following line to the file:
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.
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've added the specified line to my licenses.licx file, but that did not help.
How do I get my PowerTCP library running again?
|Jason Farrar (Admin)
Member Since: 07/24/07
Extra Support Options
Custom Application Development
|posted May 7, 2009 12:34 PM
The Licenses.licx file is added to the solution correct? Also if this is a dll that references our control that is being used in another application then the top most project needs to have the licenses.licx file as well.
Ftp Control->Custom Library->Windows Form application.
Licenses.licx needs to be in the Windows Forms application too.
|Reply | PowerTCP FTP for .NET Topics | Forums|
|This site is powered by PowerTCP WebServer for ActiveX|