Error when run my winscp .net application exe in window scheduler

Advertisement

senojtsang@hotmail.com
Joined:
Posts:
1
Location:
Hong Kong

Error when run my winscp .net application exe in window scheduler

Dear Sir,

I have two .net applicaiton with winscp for SFTP upload and download files and started to run in my company server window scheduler from April.

1)the download one will be executed daily 0300.
2)the upload one will be executed daily 2200.
3)in this period. download one never have error.
4)and the upload one, around 5 times per month and the error message in my code are:
-Network error: Software caused connection abort
-Remote side unexpectedly closed network connection
-Timeout waiting for WinSCP to respond
5)it is no any problem when
-i run both exe locally
-i run the GUI winscp locally
-i run the GUI winscp in that server
-the scheduler execute user id also can run the both my exe and GUI winscp normally.
-the problem seems only from window schedular

6)from last week, the error happened frequently and also for the download exe too.
7)i tried to increase session.timeout and sessionoption. timeout but seems not ok.
8)also updated to the latest version but no work.
9)and i yesterday checked the event log in window scheduler, the error is 10016 distributedCOM.

Please help, many thanks.
  • runByServerManually_Success.txt (31.14 KB, Private file)
Description: it is the file for the exe is executed manually successfully. [all 3 cases are with same server administrator account id]
  • runByServerScheduler_Success.txt (31.11 KB, Private file)
Description: it is the file for the exe is executed by window scheduler successfully. [all 3 cases are with same server administrator account id]
Description: it is the file for the exe is executed by window scheduler with error finally.[all 3 cases are with same server administrator account id]

Reply with quote

Advertisement

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

Re: Error when run my winscp .net application exe in window scheduler

Please post session log files instead of the debug logs.

Reply with quote

Advertisement

You can post new topics in this forum