Assume that you install Microsoft BizTalk Server 2010 on a computer. Then, you run the "DTA Archive and Purge SQL Server Agent" job to archive and delete tracking data from the BizTalk Tracking (BizTalkDTADb) database. In this situation, orphaned rows are created in the dta_ServiceInstanceExceptions table of the BizTalkDTADb database. The issue typically occurs when a message instance is resumed and then fails again. This behavior generates multiple rows that have the same uidServiceInstanceId and uidActivityId variables in the dta_ServiceInstanceExceptions table.
The orphaned rows are identified by Monitor BizTalk Server (BizTalkMgmtDb) as orphaned DTA service instance exceptions.
The orphaned rows are in the dta_ServiceInstanceExceptions table and have no corresponding rows in dta_ServiceInstances table.
The orphaned rows are never cleaned up.
This issue occurs because of an error in a stored procedure that is used by the "DTA Archive and Purge SQL Server Agent" job.
Cumulative update information
BizTalk Server 2010
The hotfix that resolves this issue is included in cumulative update package 5 for BizTalk Server 2010.
For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2689458 Cumulative update package 5 for BizTalk Server 2010
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about how to archive and delete the BizTalk Tracking database checklist, go to the following MSDN website: