WeOnlyDo.Exceptions.SFTP.LicenseInvalidException: (wodSFTP / wodSFTP.NET / wodSFTPdll)
I get this error only the first time that I run the code after a reboot. I run it right after and everything is fine.
Using SFTP.net inside of a COM+ VB.net object running ASP. Any ideas why this would happen the first time I ran the code after a reboot
Re: WeOnlyDo.Exceptions.SFTP.LicenseInvalidExcepti
Locovare,
did you set the LicenseKey property?
Kreso
Re: WeOnlyDo.Exceptions.SFTP.LicenseInvalidExcepti
How do you set the license key. The only piece that access Sftp is the VB.net object. I thought it got installed on the system with the installer file
Re: WeOnlyDo.Exceptions.SFTP.LicenseInvalidExcepti
Before you call
Sftp1.Connect
method, you should do
Sftp1.LicenseKey = your-license-key
and that should do the trick.
Kreso
Re: WeOnlyDo.Exceptions.SFTP.LicenseInvalidExcepti
ok will try that thank you
Re: WeOnlyDo.Exceptions.SFTP.LicenseInvalidExcepti
implemented your suggestion now i get this error
System.MissingMemberException: Public member 'LicenseKey' on type 'SFTP' not found
Re: WeOnlyDo.Exceptions.SFTP.LicenseInvalidExcepti
That means you don't use licensed version at all. What does Sftp1.Version property return to you? Does it contain 'DEMO' word inside?
Kreso
Re: WeOnlyDo.Exceptions.SFTP.LicenseInvalidExcepti
version 3.0.4.25
Re: WeOnlyDo.Exceptions.SFTP.LicenseInvalidExcepti
I think you have some sort of cache-ing problems.
Please uninstall wodSFTP.NET. Remove reference from your project. Delete 'bin' and 'obj' folder created by VS (if you use VS). Search your hard disk for all occurances of 'WeOnlyDo.Client.SFTP.dll' and delete them. Check if version exists in GAC,
GACUTIL /l
and remove it (GACUTIL /u) if it does.
Reboot.
Now install wodSFTP.NET licensed version (make sure it's licensed one, it should ask for your license key during install). Add reference back to your project, make sure you set LicenseKey before Connect and... run it :)
This is longer way to make it work, but I am sure this should help you out.
Kreso