This SqlTransaction has completed; it is no longer usable. when running CMS Delete Email Business Process

After scheduling and running the Delete email permanently function in BBIS an error shows in the Business Process History of CRM under the CMS Delete Email Business Process History:
This SqlTransaction has completed; it is no longer usable.

This issue occurs when a large job is being processed but cannot be completed.  The best approach to this issue is to increase the timeout for the process . 

The following key can be used in the AppSettings section of the CRM web.config file: 
<add key="EmailDeleteTimeout" value="1200"/>

We suggest increasing the value (in seconds) incrementally until the process completes without this error.  

Steps to Duplicate

1. Go to BBIS click Administration
2. Click Sites & settings
3. Click Schedules
4. Scroll to the bottom of the screen to Delete email permanently
5. Schedule this to Automatically delete emails older than 5 years
6. Schedule the Business process frequency for Every 1 day(s) at enter the desired time to run
7. Under Options: enter 60 minutes
8. Wait for run to finish
9. In CRM go to Business Processes
10. Click History tab
11. Under process type select CMS Delete Email Business Process and click apply
12. It may take several runs with different settings in BBIS to show but NOTICE status 'Did not finish' and Status message 'This SqlTransaction has completed; it is no longer usable.'
 

Environment

 Blackbaud Internet Solutions
 4.0
 4.0.170.43

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.