HELLP WinSCP , desde IIS

Advertisement

JGSISTEM
Joined:
Posts:
3
Location:
PERU

HELLP WinSCP , desde IIS

Since the application runs normally keep me pdfo to Linux, but when I publish the IIS_IUSRS, I find this error:

WinSCP.SessionLocalException: WinSCP process terminated with exit code 0. There was no output. Response log file C:\windows\TEMP\wscp1864.02886F83.tmp was not created. This could indicate lack of write permissions to the log folder or problems starting WinSCP itself.
en WinSCP.Session.Open(SessionOptions sessionOptions)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: HELLP WinSCP , desde IIS

What version of WinSCP are you using?

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.

Reply with quote

JGSISTEM
Joined:
Posts:
3
Location:
PERU

I estimated the application works correctly from VB. Eh arming from the DLL sent to be done this way:

Dim sesOpnt As New SessionOptions
With sesOpnt
.Protocol = Protocol.Sftp
.HostName = “XXXX”
.UserName = “XXXX”
.PortNumber = “XXXX”
.SshPrivateKeyPath = “XXXX”
.SshHostKeyFingerprint = “XXXX”

End With
Using SeSFTP As Session = New Session
SeSFTP.DisableVersionCheck = True

SeSFTP.SessionLogPath = “XXXX”

SeSFTP.ExecutablePath = “XXXX.EXE”

SeSFTP.Open(sesOpnt)

Dim transFerOpt As New TransferOptions
transFerOpt.TransferMode = TransferMode.Binary

Dim transferResul As TransferOperationResult
transferResul = SeSFTP.PutFiles(“RUTA ENVIO”, “RUTA DESTINO” False, transFerOpt)
transferResul.Check()



ME EVERYTHING WORKS PHENOMENAL, the drawback is when we display an ISS me started jumping errors; PERMISSION TO LE DI TEMP FOLDER AND WALLET IIS PROYECTOP writing and reading to all users of server .. not I get the error Temp, NOW I skip this error. regards


WinSCP.SessionRemoteException: Cannot initialize external console.
Request event
System Error. Code: 5.
Acceso denegado
en WinSCP.SessionLogReader.Read(LogReadFlags flags)
en WinSCP.ElementLogReader.Read(LogReadFlags flags)
en WinSCP.SessionElementLogReader.Read(LogReadFlags flags)
en WinSCP.CustomLogReader.TryWaitForNonEmptyElement(String localName, LogReadFlags flags)
en WinSCP.CustomLogReader.WaitForNonEmptyElement(String localName, LogReadFlags flags)
en WinSCP.CustomLogReader.WaitForGroupAndCreateLogReader()
en WinSCP.Session.Open(SessionOptions sessionOptions)

Reply with quote

JGSISTEM
Joined:
Posts:
3
Location:
PERU

Everything worked right from a PC, locally and think users to send the user name and password, the problem turned out
from a user from Active Directory.

System.ComponentModel.Win32Exception: El fragmento ha recibido datos incorrectos
en System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
en System.Diagnostics.Process.Start()
en WinSCP.ExeSessionProcess.InitializeChild()
en WinSCP.ExeSessionProcess.Start()
en WinSCP.Session.Open(SessionOptions sessionOptions)

Reply with quote

Advertisement

You can post new topics in this forum