ServiceDesk 7: Solving "Thread was being aborted" error in email monitor project
Created: 28 Jun 2011 | 2 comments
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.
Blog Entry Filed Under:
The Endpoint Management Community Blog is the perfect place to share short, timely insights including product tips, news and other information relevant to the Endpoint Management community. Any authenticated Connect member can contribute to this blog.
Comments 2 Comments • Jump to latest comment
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
Yes, Rob, you are absolutely right!
I could not write in correct notation - some security settings trimmed the string and removed the < ,and > symbols.
Would you like to reply?
Login or Register to post your comment.