Post a reply

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: Version 6.5.6, .net 4.8, Error: WinSCP.SessionRemoteException getting after some time of usage

Just to clarify: By "host" – do you mean the server you are connecting to? Or the machine that hosts the service (the machine where WinSCP runs)?

Also now I have noticed the discrepancy between the subject and the original post text. So are you getting SessionLocalException or SessionRemoteException?
xor2

Re: Version 6.5.6, .net 4.8, Error: WinSCP.SessionRemoteException getting after some time of usage

In all the cases we had on some computers it was like that:

  1. Host restarted
  2. Service with WinSCP is working and then at some point later on (usually after a month), it stops connecting to FTP server: WinSCP.SessionRemoteException. Service restart doesn't work. Restarting host solves the issue.
martin

Re: Version 6.5.6, .net 4.8, Error: WinSCP.SessionRemoteException getting after some time of usage

Does restarting the workstation help? What does "after some time of usage" mean exactly?
xor2

Version 6.5.6, .net 4.8, Error: WinSCP.SessionRemoteException getting after some time of usage

Hi,
On some workstations we got that error. The .net process was run on system account.
After investigation we got more detailed error:
Exception: WinSCP.SessionLocalException: WinSCP process terminated with exit code 3. There was no output. Response log file C:\Windows\TEMP\wscp1C14.00E7D730.tmp was not created. This could indicate lack of write permissions to the log folder or problems starting WinSCP itself.

Restarting service didn't help. Changing user account from system to a user with admin rights did solve the error.

From what I have read, it is been a well known error however it has already been solved a long time ago.