Application uses SFTP .NET assembly is terminated - WeOnlyDo Discussion board

Application uses SFTP .NET assembly is terminated (General questions)

by Selvam Paramasivan, Tuesday, December 12, 2006, 20:29 (6556 days ago)

Hi,

I use WeOnlyDo.Client.SFTP version 2.1.1.3 and WeOnlyDo.Security.Cryptography.KeyManager version 1.0.1.10 to push/pull files to remote SFTP server. The .NET application which uses these assemblies faily intermittendly once in a while. When it fails the application is being killed with an termination code of e0004743 (TerminateProcess+0xb). This is in production and I do handle exception in my application code but still this happens. Can you please help to resolve this problem ASAP.


Thanks
Selvam.

Re: Application uses SFTP .NET assembly is termina

by woddrazen, Tuesday, December 12, 2006, 20:37 (6556 days ago) @ Selvam Paramasivan

Hi Savam,


You have pretty old version of wodSFTP.NET. Can you please remove wodSFTP.NET from your machine and install latest 3.0.6 version of wodSFTP:NET from our site.

If problem persist please send us your code snippet.

You can also send us error from Done Event.
------------------------------
Private Sub sftp1_DoneEvent(ByVal Sender As Object, ByVal Args As WeOnlyDo.Client.FtpDoneArgs) Handles dlx1.DoneEvent
Debug.Print(Args.Error & & Args.Description)
End Sub
------------------------------

Let us know how it goes.


Regards,
Drazen

Re: Application uses SFTP .NET assembly is termina

by woddrazen, Tuesday, December 12, 2006, 20:38 (6556 days ago) @ woddrazen

Hi Savam,


You have pretty old version of wodSFTP.NET. Can you please remove wodSFTP.NET from your machine and install latest 3.0.6 version of wodSFTP:NET from our site.

If problem persist please send us your code snippet.

You can also send us error from Done Event.
------------------------------
Private Sub sftp1_DoneEvent(ByVal Sender As Object, ByVal Args As WeOnlyDo.Client.FtpDoneArgs) Handles sftp1.DoneEvent
Debug.Print(Args.Error & & Args.Description)
End Sub
------------------------------

Let us know how it goes.


Regards,
Drazen

Re: Application uses SFTP .NET assembly is termina

by Selvam Paramasivan, Tuesday, December 12, 2006, 20:52 (6556 days ago) @ woddrazen

Can you tell me where can I get the latest version (final) of WeOnlyDo.Client.SFTP and WeOnlyDo.Security.Cryptography.KeyManager?

Thanks in advance.
Selvam

Re: Application uses SFTP .NET assembly is termina

by woddrazen, Tuesday, December 12, 2006, 20:56 (6556 days ago) @ Selvam Paramasivan

Selvam,


Sure. You can download wodSFTP.NET here:

http://www.weonlydo.com/Samples/wodSFTP.NET.msi

wodKeyManager component is part of wodSFTP.NET component.


Drazen

Re: Application uses SFTP .NET assembly is termina

by Selvam Paramasivan, Tuesday, December 12, 2006, 21:02 (6555 days ago) @ woddrazen

The msi package says its the evaluation copy. I have bought life-time license for SFTP .NET package. Would this package work without any problems or should I do get alternative copy?

Thanks
Selvam

Re: Application uses SFTP .NET assembly is termina

by woddrazen, Tuesday, December 12, 2006, 21:08 (6555 days ago) @ Selvam Paramasivan

Selvam,


Sorry, I didn't realize that you are licensed user.

In order to get latest licensed version of wodSFTP.NET component, please go to:

http://www.weonlydo.com/index.asp?update=1

This is automated process. Make sure you use same email address that is registered with our system, one you used when you have purchased the product.


Drazen

Re: Application uses SFTP .NET assembly is termina

by Selvam Paramasivan, Tuesday, December 12, 2006, 21:55 (6555 days ago) @ woddrazen

Thank you for the fast response.

As you suggessted I downloaded WeOnlyDo.Client.SFTP version 3.0.6.41 and tested my script. Now the script failed when it reaches sftpClient.LicenseKey = xxxx ;. The exception says Method not found: Void WeOnlyDo.Client.SFTP.set_LicenseKey(System.String).

As you know this is already in production and being used by many applications. If I have to recompile the core assembly which consumes SFTP.NET then it will impact a lot on my side. Please assist me with this.

Thanks
Selvam.

Re: Application uses SFTP .NET assembly is termina

by woddrazen, Tuesday, December 12, 2006, 22:08 (6555 days ago) @ Selvam Paramasivan

Selvam,


Somehow you have DEMO version of wodSFTP.NET on your machine.

Please remove reference to wodSFTP.NET from your project, close VS.
Delete bin and obj folders. Uninstall wodSFTP.NET. Make sure it doesn't have any leftover DLLs (search your hard drive for WeOnlyDo.Client.SFTP.dll and delete them).
Make sure it's not in the GAC anymore (gacutil -l) and if you find it there, uninstall it too (gacutil -u).
When you're sure wodSFTP.NET is not installed anymore, now install it again, but make sure you install licensed version (one that asks for license key during installation). Open VS, add reference back, and now try it.

You don't have to change your code. Usage of latest version is same as for previous versions.


Drazen