Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Melbinmp

Winscp Exception .Net Assembley

Waiting for winscp to respond , I have tried session.timeout= 2min still now i am getting the same error
CASAMostafa

Timeout waiting for WinSCP to respond -

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 23/05/2013 1:51:43 PM
Event time (UTC): 23/05/2013 3:51:43 AM
Event ID: 9b4087cbe9c54352abb8c47e777bedcd
Event sequence: 8
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root-1-130137546114372868
Trust level: Full
Application Virtual Path: /
Application Path: D:\inetpub\wwwroot\
Machine name: AUSYD1-S0003

Process information:
Process ID: 9964
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: TimeoutException
Exception message: Timeout waiting for WinSCP to respond - Log file C:\WINDOWS\TEMP\wscp26EC.014FD2B5.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)
at Patrick.PTS.Web.UI.Brisbane.Software.VehicleConfigDisplay.b_SaveVehicleConfigFile_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)



Request information:
Request URL: http://10.0.10.55/Brisbane/Software/VehicleConfigDisplay.aspx
Request path: /Brisbane/Software/VehicleConfigDisplay.aspx
User host address: 10.0.10.55
User: mostafaa
Is authenticated: True
Authentication Type: Forms
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 8
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at WinSCP.Session.CheckForTimeout(String additional)
at WinSCP.Session.Open(SessionOptions sessionOptions)
at Patrick.PTS.Web.UI.Brisbane.Software.VehicleConfigDisplay.b_SaveVehicleConfigFile_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


I am using .Net Client and calling WinScp from a web page to write the file into the ftp server.


Kind Regards,
Mostafa