The Microsoft CRM Deletion Service does not remove records from the Microsoft CRM SQL Server database promptly (831189)
The information in this article applies to:
- Microsoft Business Solutions CRM 1.0
SYMPTOMSWhen you delete an activity in Microsoft Business Solutions CRM (Microsoft CRM) 1.0, if that activity has an attachment, the Microsoft CRM Deletion Service cannot delete the attachment. You may see the following symptoms when this problem occurs: - CPU utilization increases on the Microsoft SQL Server-based server that contains the Microsoft CRM databases.
- Performance decreases on the server that is running Microsoft CRM and on the SQL Server-based server that contains the Microsoft CRM databases.
Note When you turn off the Deletion Service, CPU utilization and performance return to typical levels. CAUSEWhen a Microsoft CRM e-mail activity includes an attachment, an associated record exists in the ActivityMimeAttachment table. This table is stored on a SQL Server-based server in the Organization_Name_MSCRM database. When you delete the activity, the attachment is not marked for deletion in the ActivityMimeAttachment table, and the Deletion Service cannot delete the record. Therefore, the Deletion Service continues to run but does not remove the records. When this problem occurs, the CPU utilization remains at a high level on the SQL Server-based server that contains the Microsoft CRM database.RESOLUTIONTo resolve this problem, apply the Microsoft CRM hotfix rollup for KB articles 831181, KB 831189, and KB 834548.
For additional information and to obtain this hotfix rollup, click the following article number to view the article in the Microsoft Knowledge Base:
834572
Microsoft Business Solutions CRM hotfix rollup for KB articles 831181, KB 831189, and KB 834548
Note Before you install this hotfix rollup, you must modify the ActivityMimeAttachment records in the Organization_Name_MSCRM database by running a SQL statement. To modify these records, follow these steps: - Back up the Microsoft CRM SQL Server databases and Active Directory as indicated in the Microsoft CRM Implementation Guide.
- Run the following SQL statement in SQL Query Analyzer against the Organization_Name_MSCRM database.
DELETE FROM ActivityMimeAttachment WHERE ActivityId IN
(SELECT ActivityId FROM ActivityBase WHERE DeletionStateCode = 2)
You only have to run this SQL statement one time. This SQL statement removes any activities and associated attachments that were previously marked for deletion.
Modification Type: | Minor | Last Reviewed: | 10/25/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbMBSemail kbfix kbBug KB831189 kbAudEndUser |
---|
|