Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

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

Rob Moore's picture
13
Jul
2011
0 Votes 0
Login to vote

can you calrify something here?

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

bold's picture
03
Aug
2011
0 Votes 0
Login to vote

Correct!

Yes, Rob, you are absolutely right!

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