Differences

This shows you the differences between the selected revisions of the page.

2016-06-15 2016-06-15
Restored revision 1465397404. Undoing revisions 1465921682, 1465921935, 1465921988. (martin) (hidden) Cannot initialize external console (martin)
Line 416: Line 416:
  * WinSCP could not create/write to log file that it uses to report back to the [[library|.NET assembly]]. Make sure your process has write permissions to the temporary folder. Alternatively, you can use (undocumented) property ''Session.XmlLogPath'' to change the log file location.   * WinSCP could not create/write to log file that it uses to report back to the [[library|.NET assembly]]. Make sure your process has write permissions to the temporary folder. Alternatively, you can use (undocumented) property ''Session.XmlLogPath'' to change the log file location.
  * WinSCP did not correctly start. Make sure your process has permissions to access WinSCP [[executables|executable]] and to execute processes. See also [[bug>996|related fix for frequent use of the .NET assembly]].   * WinSCP did not correctly start. Make sure your process has permissions to access WinSCP [[executables|executable]] and to execute processes. See also [[bug>996|related fix for frequent use of the .NET assembly]].
 +
 +===== [[cannot_initialize_external_console]] Cannot initialize external console =====
 +
 +If you are getting the error with [[library|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 [[executables|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 ''[[library_session#executableprocessusername|Session.ExecutableProcessUserName]]'' and the ''[[library_session#executableprocesspassword|Session.ExecutableProcessPassword]]'' to configure the local account to use for the WinSCP process.
===== [[net_operation_not_supported]] Could not load file or assembly 'file:///...\WinSCPnet.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) ===== ===== [[net_operation_not_supported]] Could not load file or assembly 'file:///...\WinSCPnet.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) =====

Last modified: by martin