I was getting "Thread was being aborted" error while running my workflow. My Workflow required 5-10 mins to finish. but after 2 or 3 mins I started my workflow, it was throwing this error. which i got from my error log.
I could Identify that, the error is coming in different steps (workflow activities) everytime. It means problem is neither with data nor with the code.
then after searching for sometime. I found this article @
http://dirkvandenberghe.com/2010/01/29/sharepoint-timeout-error-thread-was-being-aborted.html
thanks to author.
the actual problem is sharepoint execution time.
The solution to the problem is
<httpRuntime executionTimeout=“200“ maxRequestLength=“51200“/>
I could Identify that, the error is coming in different steps (workflow activities) everytime. It means problem is neither with data nor with the code.
then after searching for sometime. I found this article @
http://dirkvandenberghe.com/2010/01/29/sharepoint-timeout-error-thread-was-being-aborted.html
thanks to author.
the actual problem is sharepoint execution time.
The solution to the problem is
<httpRuntime executionTimeout=“200“ maxRequestLength=“51200“/>
try to find the "<httpruntime" element in your sharepoint's web application's web.config file and include this attribute. " executionTimeout=“2000“ "
I changed it to "2000". now the problem is solved. (at least for me)
this may help to those who overlooked this check.
No comments:
Post a Comment