Video Screencast Help

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

Created: 28 Jun 2011 • 2 comments
bold's picture
+1 1 Vote
Login to vote

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.

Comments 2 CommentsJump to latest comment

Rob Moore's picture

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

-3
Login to vote
bold's picture

Yes, Rob, you are absolutely right!

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

+1
Login to vote