Topic "Can I just turn off logging?"

Author Message
gholmes

Guest


I'm getting the "Timeout waiting for WinSCP to respond ... unable to create in time" error.

It's intermittent. It doesn't matter whether I specify a path or not. And obviously the scheduler user *does* have write permission, since it works sometimes.

Can I just turn off logging? I just want this to plain work. Frankly, this is the only error I've been getting Smile Is there a way to turn off logging, using the .NET assembly?
Advertisements
gholmes

Guest


I run it from Windows Task Scheduler once per day.

Obviously the user it runs under does have write permission ... it works some days, but not others.


Here's an example of the errors:

WITHOUT CUSTOM PATH:
6/21/2013 5:34:38 AM
System.TimeoutException: Timeout waiting for WinSCP to respond - Log file C:\Documents and Settings\Administrator\Local Settings\Temp\wscp0A68.0202C666.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)



WITH CUSTOM PATH:
6/24/2013 5:34:10 AM
System.TimeoutException: Timeout waiting for WinSCP to respond - Log file C:\WinSCP.log 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)
gholmes

Guest


Anybody ... Bueller?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Typically, the root cause is not a logging, it's just a manifestation of the actual problem, that WinSCP does not start. And no, you cannot turn it off, it's necessary for .NET assembly operation.

Please download Process Monitor from:
https://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

When you run it, it will ask you to enter filter (if not, use filter toolbar button).
Select "Process Name", "contains", "winscp" => Add => Ok.

Then run WinSCP.

Hopefully some records about the start show up.

The go to File > Save, select "Events displayed using current filter" and PML format (both should be default).

Try to collect the log both for situation when WinSCP works and when it does not.

Email me the .pml files then.

Thanks.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Also can you test suggestion by @agriffin (post here) to set process to run in 2003 compatibility mode?
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