Topic "WinScp Timeout Error - 5.1.5 using .net client"

Author Message
mostafa.asaduzzaman@cargo

Guest


Receive the following error when I try to connect via .Net client.

Exception message: Timeout waiting for WinSCP to respond - Log file C:\WINDOWS\TEMP\wscp17A8.01E4013B.tmp was not created in time, please make sure WinSCP has write permissions to the folder
at WinSCP.Session.CheckForTimeout(String additional)
at WinSCP.Session.Open(SessionOptions sessionOptions)
Advertisements
CASAMostafa
[View user's profile]

Joined: 2013-05-22
Posts: 9
Please reply my question as I am stuck at that point of error message and my web page gets hanged after giving the error message.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Ok, does your process have a write access to C:\WINDOWS\TEMP\ ?
Can you attach a complete debug log path (set Session.DebugLogPath) using WinSCP 5.2.1 beta?
_________________
Martin Prikryl
CASAMostafa
[View user's profile]

Joined: 2013-05-22
Posts: 9
prikryl wrote:
Ok, does your process have a write access to C:\WINDOWS\TEMP\ ?
Can you attach a complete debug log path (set Session.DebugLogPath) using WinSCP 5.2.1 beta?


How to provide write access to the process for the folder in Windows?


Regards,
Mostafa
CASAMostafa
[View user's profile]

Joined: 2013-05-22
Posts: 9
Hi prikryl,
I have identified the IIS (6.0) process w3wp.exe is failing to write/create file in the temporary folder on the windows server. As I ran from my development machine there was no issue. The NETWORK SERVICE user has the right permission for the process. I don't know what else need to be done.

Please suggest me in this regard.

Thanks,
Mostafa
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
CASAMostafa wrote:
I have identified the IIS (6.0) process w3wp.exe is failing to write/create file in the temporary folder on the windows server. As I ran from my development machine there was no issue. The NETWORK SERVICE user has the right permission for the process. I don't know what else need to be done.

Sorry, I have no experience with IIS and this is really out of scope of this forum. Try asking on sftp://superuser.com. If you do, please share link to your question here.
_________________
Martin Prikryl
CASAMostafa
[View user's profile]

Joined: 2013-05-22
Posts: 9
Here is the superuser.com link

<invalid hyperlink removed by admin>
CASAMostafa
[View user's profile]

Joined: 2013-05-22
Posts: 9
I have finally been able to run .net code for winscp access to the ftp server.
Typical uses of Winscp is to write a confirg file to the ftp folder.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
CASAMostafa wrote:
I have finally been able to run .net code for winscp access to the ftp server.

What did you do to fix it? Please share it with us.
_________________
Martin Prikryl
CASAMostafa
[View user's profile]

Joined: 2013-05-22
Posts: 9
prikryl wrote:
CASAMostafa wrote:
I have finally been able to run .net code for winscp access to the ftp server.

What did you do to fix it? Please share it with us.

The identified problem was account mismatch between by which winscp was running and IIS pool identity account. Winscp was not picking up the pool account (Network Service) rather running with Local System account. After changing the pool identity account to Local System, it worked fine.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
CASAMostafa wrote:
The identified problem was account mismatch between by which winscp was running and IIS pool identity account. Winscp was not picking up the pool account (Network Service) rather running with Local System account. After changing the pool identity account to Local System, it worked fine.

Thanks for sharing this.

There's FAQ covering these kind of issues:
https://winscp.net/eng/docs/faq_scheduler
_________________
Martin Prikryl
Karthik

Guest


I tried the above given solution but still the issue has not been resolved.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
For details on the error see
https://winscp.net/eng/docs/message_library_timeout_waiting_to_respond
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License