Cannot initialize external console

If you are getting the error with WinSCP .NET assembly and the error details are like “Request event - System Error. Code: 5. - Access is denied”, the error indicates that the .NET assembly cannot communicate with WinSCP executable. This usually happens, when the .NET assembly is used within a restricted environment like IIS Web Service and the assembly and the process are using different local accounts.

Use the Session.ExecutableProcessUserName and the Session.ExecutableProcessPassword to configure the local account to use for the WinSCP process.

  messages.txt · Last modified: by martin

Search Documentation

This page


About donations

$9   $19   $49   $99

About donations



Site design by Black Gate