Developer forum

Forum » Integration » Thread was being aborted

Thread was being aborted

Søren Jakobsen
Reply

Hi Community,

we have a scheduled task with an execution time more than 10 minutes. The task is aborted after 10 min and 1 sec on each execution with below error message:

System.Threading.ThreadAbortException: Thread was being aborted.<br/>   at Dynamicweb.DataIntegration.ScheduledTaskAddIns.ImportDataCustomRequestAddIn.ImportDataWithCustomRequestAddIn.Run()<br/>   at Dynamicweb.Scheduling.AddInJob.Execute()

If the task is executed manually it runs without any errors.

I have searched the forum and found a post with could be simular to this issue: https://doc.dynamicweb.com/forum/integration/integration/forever-running-taskexecute-runner - not sure whether this issue is solved!

We are running a DW 9.10.10 on a DW cloud server with integration to BC (Live-integration version 4.0.0).

Any ideas?

Best regards

Søren


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Søren,

Try to change the timeout in the web.config file:
httpRuntime executionTimeout="600" 
The default is 600 seconds which is 10 min, so you can set it with greater value.

Kind regards, Dmitrij

Votes for this answer: 1
 
Søren Jakobsen
Reply

Thanks. I will try that.

 

You must be logged in to post in the forum