WinSCP process terminated with exit code 255 or 3
I have a SQL Server Integration Services package containing a Microsoft Visual C# 2008 script which uses the WinSCP .NET assembly to transfer files to a remote SFTP server. The package runs once a day and uploads two files each time.
WinSCP.exe is file version 5.5.1.3970, product version 5.5.1.0
WinSCPnet.dll is file version 1.1.4.3970, product version 5.5.1.0
Since Friday my SSIS package is failing with either of the following errors:
I've inherited this config so not as familiar as I'd like, however I'm pretty sure my SSIS package runs as SYSTEM (it's configured to use the SQL Agent user, which in turn uses the Local System account), which does have full control over C:\Windows\TEMP, so I'm unsure why no log file is created.
This sounds a lot like https://winscp.net/tracker/996 but that was fixed at 5.2.5, which is an earlier release than the one I'm using, so I'm not certain it's the same issue.
Is there anything else I can provide or look at which may help identify the issue?
WinSCP.exe is file version 5.5.1.3970, product version 5.5.1.0
WinSCPnet.dll is file version 1.1.4.3970, product version 5.5.1.0
Since Friday my SSIS package is failing with either of the following errors:
Message: Error when using WinSCP to upload files: WinSCP.SessionLocalException: WinSCP process terminated with exit code 255 and output "", without responding (response log file C:\Windows\TEMP\wscp4BF8.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)
Message: Error when using WinSCP to upload files: WinSCP.SessionLocalException: WinSCP process terminated with exit code 3 and output "", without responding (response log file C:\Windows\TEMP\wscp28E8.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)
I've inherited this config so not as familiar as I'd like, however I'm pretty sure my SSIS package runs as SYSTEM (it's configured to use the SQL Agent user, which in turn uses the Local System account), which does have full control over C:\Windows\TEMP, so I'm unsure why no log file is created.
This sounds a lot like https://winscp.net/tracker/996 but that was fixed at 5.2.5, which is an earlier release than the one I'm using, so I'm not certain it's the same issue.
Is there anything else I can provide or look at which may help identify the issue?