Using WinSCP 5.6.6 but getting error "WinSCP process terminated with exit code -1073741502 and outp"
Hi Prikryl,
We are using WinSCP 566 automation in windows service to use WinSCP to upload and download the files but getting below 2 errors. Could you please help us for same.
#1: WinSCP.SessionLocalException: WinSCP process terminated with exit code -1073741502 and output "", without responding (response log file C:\Windows\TEMP\wscp0400.03AA54A0.tmp was not created). This could indicate lack of write permissions to the log folder or problems starting WinSCP itself.
#2: System.ArgumentException: SessionOptions.SshHostKey or SessionOptions.GiveUpSecurityAndAcceptAnySshHostKey is set, but SessionOptions.Protocol is not Protocol.Sftp nor Protocol.Scp.
Same code is working but receiving this error on some of the machines with same platform.
Please let me know if more information required.
We are using WinSCP 566 automation in windows service to use WinSCP to upload and download the files but getting below 2 errors. Could you please help us for same.
#1: WinSCP.SessionLocalException: WinSCP process terminated with exit code -1073741502 and output "", without responding (response log file C:\Windows\TEMP\wscp0400.03AA54A0.tmp was not created). This could indicate lack of write permissions to the log folder or problems starting WinSCP itself.
#2: System.ArgumentException: SessionOptions.SshHostKey or SessionOptions.GiveUpSecurityAndAcceptAnySshHostKey is set, but SessionOptions.Protocol is not Protocol.Sftp nor Protocol.Scp.
Same code is working but receiving this error on some of the machines with same platform.
Please let me know if more information required.