Symptoms

BizTalk Health Monitor (BHM) reports Orphaned DTA Service Instances or the Monitor BizTalk Server SQL Server Agent job fails with an error message that resembles the following:

Step ID: 2Server: BTSSQLSERVERJob Name: Monitor BizTalk Server (BizTalkMgmtDb)Step Name: Generate error string in case of any issueDuration: 00:00:00Sql Severity: 11Sql Message ID: 50000Retries Attempted: 0MessageExecuted as user: BTSSQLAGENTUSER. 550 Orphaned DTA Service Instances in BTSSQLSERVER.BizTalkDTADb [SQLSTATE 42000] (Error 50000). The step failed.

These orphaned DTA service instances are never removed by the DTA Purge and Archive job. Therefore, the BizTalkDTADb database can become very large.

Resolution

This problem was fixed in the following cumulative updates for BizTalk Server:

Note After you install this update, you must manually update the DTA Purge and Archive job definition to pass the additional parameter @fHardDeleteRunningInstances if you want to clean up running service instances that are older than @nHardDeleteDays. By default, this new parameter is set to 0. This continues the current behavior. If you require the new behavior, set this parameter to 1.

Status

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

References

Learn about service pack and cumulative update list for BizTalk Server.Learn about BizTalk Server hotfixes and cumulative update support.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.