Can I use SFTP components on Windows2003 64bit - WeOnlyDo Discussion board

Can I use SFTP components on Windows2003 64bit (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Warayuth, Thursday, October 04, 2007, 10:18 (6261 days ago)

Can I use SFTP components on Windows2003 64bit?

I'm having a problem running app on Windows 64bit

error is is not a valid win32 Application

any help?

Re: Can I use SFTP components on Windows2003 64bit

by wodSupport, Thursday, October 04, 2007, 10:22 (6261 days ago) @ Warayuth

Hi.

We are just recompiling on 64bit so I can provide wodSFTP like that for you.

However, error said that it is not valid 32bit, not 64bit application? WHat application are you running?

Kreso

Re: Can I use SFTP components on Windows2003 64bit

by warayuth, Thursday, October 04, 2007, 11:22 (6261 days ago) @ wodSupport


I use C# .net 2005(Framework 2.0) reference weonlydo dll.

the code is very simple just reference and call SFTP that's all.

I use WeOnlyDo.Client.SFTP 3.0.5.32
WeOnlyDo.Security.Cryptography.KeyManager 1.0.3.14

Can you confirm the above version of SFTP client is support 64bit?

Re: Can I use SFTP components on Windows2003 64bit

by wodSupport, Thursday, October 04, 2007, 11:45 (6261 days ago) @ warayuth

Is your app 64bit or 32bit? I am not sure for wodKeyManager if it will work in 64bit, but wodSFTP must since it's fully managed NET code inside.

Kreso

Re: Can I use SFTP components on Windows2003 64bit

by warayuth, Thursday, October 04, 2007, 12:24 (6261 days ago) @ wodSupport

My Code is 32bit code because It's running fine for 6 months(on 32bit windows2003) and I didn't change anything on the code before I migrate it in to 64bit.

Yes I use both dll(SFTP and KeyManager) and can not change to otherway because company policy. can you fine someone to confirm compatibility or tested them on similar environment as me.(C#.Net 2005, Windows2003 64bit Enterprise)

the error from event viewer is as follows
===============
Faulting application getimsibatch.exe, version 1.0.0.0, stamp 45cc307d, faulting module kernel32.dll, version 5.2.3790.1830, stamp 42438b79, debug? 0, fault address 0x000000000000dd30
===============

Re: Can I use SFTP components on Windows2003 64bit

by wodSupport, Thursday, October 04, 2007, 12:28 (6261 days ago) @ warayuth

So this is 32bit app made in C# and uses wodKeyManager and wodSFTP.NET? Ok, we'll try to make same sample here and see if it exposes any problems.

Will post reply here as soon as we have some results.

Kreso

Re: Can I use SFTP components on Windows2003 64bit

by wodSupport, Thursday, October 04, 2007, 21:11 (6260 days ago) @ wodSupport

Seems that translation of wodKeyManager to x64 isn't that easy as it seems.

I have googled arround and found a solution - you should recompile your app (wherever, you can use old computer for that too), but you should change your configuration from 'Any CPU' to 'x86' so you force it to run 32bit even on 64bit systems. That will make wodKeyManager work in your EXE too.

Hope I helped!
Kreso

Re: Can I use SFTP components on Windows2003 64bit

by warayuth, Monday, October 08, 2007, 04:52 (6257 days ago) @ wodSupport

thank you for fast response.


yes x86 fixed the problem.