WeOnlyDo.Exceptions.SFTP.LicenseInvalidException: - WeOnlyDo Discussion board

WeOnlyDo.Exceptions.SFTP.LicenseInvalidException: (wodSFTP / wodSFTP.NET / wodSFTPdll)

by locovare, Wednesday, March 29, 2006, 21:13 (6814 days ago)

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

by wodSupport, Wednesday, March 29, 2006, 21:20 (6814 days ago) @ locovare

Locovare,

did you set the LicenseKey property?

Kreso

Re: WeOnlyDo.Exceptions.SFTP.LicenseInvalidExcepti

by locovare, Wednesday, March 29, 2006, 21:33 (6814 days ago) @ wodSupport

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

by wodSupport, Wednesday, March 29, 2006, 21:38 (6814 days ago) @ locovare

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

by locovare, Wednesday, March 29, 2006, 21:39 (6814 days ago) @ wodSupport

ok will try that thank you

Re: WeOnlyDo.Exceptions.SFTP.LicenseInvalidExcepti

by locovare, Wednesday, March 29, 2006, 23:37 (6814 days ago) @ locovare

implemented your suggestion now i get this error
System.MissingMemberException: Public member 'LicenseKey' on type 'SFTP' not found

Re: WeOnlyDo.Exceptions.SFTP.LicenseInvalidExcepti

by wodSupport, Wednesday, March 29, 2006, 23:38 (6814 days ago) @ locovare

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

by locovare, Wednesday, March 29, 2006, 23:39 (6814 days ago) @ wodSupport

version 3.0.4.25

Re: WeOnlyDo.Exceptions.SFTP.LicenseInvalidExcepti

by wodSupport, Wednesday, March 29, 2006, 23:44 (6814 days ago) @ locovare

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