Topic "WinSCP(v. 5.6.2) giving exit code 3"

Author Message
Guest




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.
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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License