Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: WinSCP(v. 5.6.2) giving exit code 3

Please attach a full debug log file showing the problem (using the latest version of WinSCP).

To generate log file, set Session.DebugLogPath. Submit the log with your post as an attachment. If you do not want to post the log publicly, you can mark the attachment as private.


Also, isn't there any other instance of a scheduled task (either the assembly or WinSCP scripting) using older version of WinSCP.
Guest

Hi prikryl ,

Can you please help me sorting out this problem. The problem comes only when it is deployed on Production server, scheduled as job in Sql Server.
Guest

WinSCP(v. 5.6.2) giving exit code 3

Hi,

I am using WinSCP (v. 5.6.2). I am having a problem while using WinSCONet.dll. I am using this dll to download files from SFTP site in SSIS package. after deployment it works correctly for some days then, it start giving the error:


Message
Executed as user: OMS\Administrator. ... 11.0.2100.60 for 64-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 11:20:00 PM Error: 2014-12-27 23:20:01.79 Code: 0x00000000 Source: FTP File Transfer Script Task for Description: Error when connecting to ftp: WinSCP.SessionLocalException: WinSCP process terminated with exit code 3 and output "", without responding (response log file C:\Users\Administrator.OMS\AppData\Local\Temp\wscp5CAC.03CE0BB8.tmp was not created). This could indicate lack of write permissions to the log folder or problems starting WinSCP itself. at WinSCP.Session.Open(SessionOptions sessionOptions) at ST_736288e11118423e85bffc826cb0c430.ScriptMain.Main() End Error Error: 2014-12-27 23:20:01.92 Code: 0x00000000

This happens every 10-15 hours. we have given all the permissions to WinSCP.exe and dll. Also DLL is registered in GAC. To resolve this problem we need to reboot the server.

Below are the details of implementation:

The SSIS job is installed in SQL-Server 2012.
The OS is Windows 2012 server.
The WinSCPNet.dll version is 1.2.2.4756


Its a production issue, heance please suggest the solution as soon as possible.