Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.8k views
in .NET FTP by (460 points)
I have created a small app for testing FTP sites with VB.Net. The app works fine on the development machine, thru the VS IDE and it also runs when I created and ran an installation package for the app. I have the Owner and Key in a App Config file and pass it to the secureFTPConection.LicenseKey and LicenseOwner

But I am getting the following Log file when I run the app on a clean machine.


DEBUG [LicenseProperties] 8 Oct 2007 16:10:37.062 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 8 Oct 2007 16:10:37.062 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 8 Oct 2007 16:10:37.062 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry

5 Answers

0 votes
by (162k points)
Does the application work ok? The licensing module looks in various places for the license keys, and reports what it finds in the log file - but this is informational only. An exception will be thrown if the license found is invalid.
0 votes
by (460 points)
The app works on the development machine, but will not login on the production machine. The log indicates that it cannot find the Licence on the production machine. (SEE First POST)
0 votes
by (162k points)
Have a look in the registry on each machine - it is easy to modify the values to put the correct license values in, e.g.

HKCU\Software\Enterprise Distributed Technologies\edtFTPnet PRO

Alternatively the license can be set explicitly with the LicenseKey and LicenseOwner properties (a couple of versions ago there was a bug with these properties).
0 votes
by (400 points)
Alternatively the license can be set explicitly with the LicenseKey and LicenseOwner properties (a couple of versions ago there was a bug with these properties).


Can i ask how to do this?

I'm trying to deploy an app to my client machines and they keep saying they need these properties set. When i click on the app it errors asking to set the LicenseKey and LicenseOwner. I've tried using the XML code i was given in my E-mail but have no idea where in the file to place it.
0 votes
by (51.6k points)
Add the following two lines of code to your code:
myFTPConnection.LicenseOwner = "{license-owner}";
myFTPConnection.LicenseKey = "{license-key}";

where myFTPConnection is the name of the variable referencing your ExFTPConnection or SecureFTPConnection instance, and {license-owner} and {license-key} are the values from your XML license file.

- Hans (EnterpriseDT)

Categories

...