Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Orphaned rows are created when you run the "DTA Archive and Purge SQL Server Agent" job in BizTalk Server 2010


View products that this article applies to.

Symptoms

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.

Notes
  • 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.

↑ Back to the top


Cause

This issue occurs because of an error in a stored procedure that is used by the "DTA Archive and Purge SQL Server Agent" job.

↑ Back to the top


Resolution

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

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More Information

For more information about how to archive and delete the BizTalk Tracking database checklist, go to the following MSDN website: For more information about how to manually delete data from the BizTalk Tracking database, go to the following MSDN website: For information about the service packs and cumulative update list for BizTalk Server, click the following article number to view the article in the Microsoft Knowledge Base:
2555976 Service pack and cumulative update list for BizTalk Server
For more information about BizTalk hotfixes and service pack support, click the following article number to view the article in the Microsoft Knowledge Base:
2003907 Information about BizTalk hotfixes and service pack support

↑ Back to the top


Keywords: kbqfe, kbfix, kbexpertiseadvanced, kbsurveynew, kbbiztalk2010presp1fix, kb

↑ Back to the top

Article Info
Article ID : 2703644
Revision : 1
Created on : 1/7/2017
Published on : 7/9/2012
Exists online : False
Views : 345