ServiceDesk

 View Only

ServiceDesk 7: Solving "Thread was being aborted" error in email monitor project 

Jun 28, 2011 05:41 PM

Sometimes incoming emails are not processed correctly by ServiceDesk 7 and error messages stating: "Thread was being aborted" appears in sd 7 logs.

Cause: By default email monitor project when deployed to iis works 90 seconds and then terminates.

Solution: You should increase the timeout of the Email monitor webservice. In order to do that in email monitor project go to "Resources" tab and find web.config file. Open it for edit and add the string: httpRuntime executionTimeout="number of seconds" and then deploy the project. We increased the timeout up to 100 minutes so our string looked like: httpRuntime executionTimeout="6000". After that the error disappeared.

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

Jun 27, 2014 08:08 AM

Hi, 

I found the same problem in version 7.5 of Workflow. The exception found time was 2 minutes for a flow-type monitor. As stated just used the syntax in web.config: 

   <system.web> 
  <httpRuntime executionTimeout="1200"/> 

Interesting to share the monitor will not run again before its previous run is completed. 

Congratulations on posting Bold. 

Regards, 

André Florencio

Aug 03, 2011 08:40 AM

Yes, Rob, you are absolutely right!

I could not write in correct notation - some security settings trimmed the string and removed the < ,and > symbols.

Jul 13, 2011 05:03 PM

In the web config file, where exatcly did you put this string, and what are the delimeters?

I believe it needs to go right after the <system.web> and it should end with a /> (no space required) like so:

  <system.web>
 <httpRuntime executionTimeout="300"/>

 

is this correct?

Thanks!

rob

Related Entries and Links

No Related Resource entered.