---
title: Monitor and Resolve Orphaned DTA Service Instances in BizTalk with Nodinite
description: Proactively monitor and resolve Orphaned DTA Service Instances in BizTalk Server with Nodinite. Instantly receive alerts, take corrective actions, and ensure optimal database health and compliance.
---

# <i class="fal fa-suitcase-medical" aria-hidden="true"></i> Orphaned DTA Service Instances

<aside aria-label="Info" class="nodinite-note nodinite-note--info">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-square-info"></i> Info</p>
<div class="nodinite-note__content"><p>Receive instant alerts and take action when the number of <strong>Orphaned DTA Service Instances</strong> exceeds your user-defined monitoring threshold. <i class="fal fa-bolt" aria-hidden="true"></i></p></div>
</aside>

When the `DTA Archive and Purge` SQL Server Agent job archives and deletes tracking data from the BizTalk Server Tracking database (BizTalkDTADb), orphaned rows can accumulate in the `dta_ServiceInstanceExceptions` table. This issue often occurs when a message instance is resumed and then fails again, generating multiple rows with the same `uidServiceInstanceId` and `uidActivityId`. If these orphaned DTA service instances are not removed by the `DTA Purge and Archive job`, the **BizTalkDTADb** database can grow excessively large.  
![Orphaned DTA service instances Resource in OK state in a Monitor View filtered on the Health Check category (7.12)][1]  
*The **Orphaned DTA service instances** [Resource][Resources] in a [Monitor View][Monitor Views]; it turns Warning or Error when orphaned instances exceed your thresholds.*  

<i class="fal fa-folder" aria-hidden="true"></i> **Category Name** = "[Health Check][]"  
<i class="fal fa-lightbulb-on" aria-hidden="true"></i> **Resource Name** = "Orphaned DTA Service Instances"  

## What's evaluated for Orphaned DTA Service Instances?

Nodinite evaluates the state of the [Resource][Resources] `Orphaned DTA Service Instances` based on your user-defined thresholds:

|State|Status|Description|<i class="fal fa-bolt" aria-hidden="true"></i> Actions|  
|---|---|---|---|  
|🚫 <span title="Used to indicate an error/fatal condition">Unavailable</span>|**Resource not available**|Evaluation of the 'BizTalk Orphaned DTA Service Instances' is not possible due to network or security issues|Review [prerequisites][Prerequisites for BizTalk Monitoring Agent]|  
|❌ <span title="Number of instances are above configured threshold">Error</span>|**Too many instances exist**|Number of instances exceeds the configured threshold|<i class="fal fa-circle-info" aria-hidden="true"></i> [Details](#fa-circle-info-details)|  
|⚠️ <span title="Used to indicate an unexpected but not invalid state"> Warning</span>|**Too many instances exist**|Number of instances exceeds the configured threshold|<i class="fal fa-circle-info" aria-hidden="true"></i> [Details](#fa-circle-info-details)|  
|✅ <span title="Used to indicate normal operation">OK</span>|**Not too many instances exist**|Number of instances is below configured thresholds|<i class="fal fa-circle-info" aria-hidden="true"></i> [Details](#fa-circle-info-details)|  

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>You can reconfigure the <strong>evaluated state</strong> using the <a href="https://docs.nodinite.com/administration/monitor-management/resources/features/expected-state/">Expected State</a> feature on every <a href="https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/">Resource</a> within <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.</p></div>
</aside>

## <i class="fal fa-bolt" aria-hidden="true"></i> What remote actions are available?

* <i class="fal fa-circle-info" aria-hidden="true"></i> [Details](#fa-circle-info-details) – Show the number of instances and remove orphaned instances.
* <i class="fal fa-edit" aria-hidden="true"></i> [Edit](#fa-edit-edit-thresholds) – Manage thresholds (not yet available on Resource level).
* <i class="fal fa-chart-line-up" aria-hidden="true"></i> [Metrics chart](#fa-chart-line-up-metrics-chart) – Not yet available for this Resource.  

![The Action menu of a Health Check Resource with Details and Edit under Control Center and Metrics chart under Metrics (7.12)][2]  
*Example of available [Remote Actions][]. Every Health Check Resource has the same **Action** menu.*  

### <i class="fal fa-circle-info" aria-hidden="true"></i> Details

Click the **Action** button, then select **Details** to view the orphaned instances and their row count.  
![Details menu item in the Action menu (7.12)][3]  
*Example of the **Details** menu item.*  

![Details modal for Orphaned DTA service instances with the message There are currently no Orphaned DTA Service Instances and the prerequisites for Remove (7.12)][4]  
*The **Details** modal when no orphaned instances exist, with an explanation and the prerequisites for the **Remove** action.*  

When Orphaned DTA Service Instances exist, click the **Actions** button in the **Details** modal and select **Remove** to set the `dtEndTime` values for orphaned instances. This enables the `DTA Purge and Archive job` (SQL Agent job) to clean these rows on the next run.  
![Actions button][5]  
*Example with the **Actions** button.*  

Click the **Remove** menu item to initiate the operation.  
![Remove button][6]  

### <i class="fal fa-edit" aria-hidden="true"></i> Edit thresholds

Change monitoring thresholds from the [Health Check | Misc][Configuration - Misc] tab in the [Configuration][] for your <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Microsoft BizTalk Server Monitoring Agent][BizTalk Agent].  
If you click the **Edit** menu item in the **Action** button, a modal says *This view is not available yet for the resource 'Orphaned DTA service instances'*.  
![Edit menu item in the Action menu (7.12)][7]  
*Example of the **Edit** menu item.*  

![Edit modal for Orphaned DTA service instances with the message This view is not available yet (7.12)][8]  
*The **Edit** modal for Orphaned DTA Service Instances: change the thresholds in the [Configuration][] instead.*  

### <i class="fal fa-chart-line-up" aria-hidden="true"></i> Metrics chart

Not yet available for this Resource: the modal says *No metrics found for this Resource*.

Click the **Action** button and select **Metrics chart**.  
![Metrics chart menu item in the Action menu (7.12)][9]  
*Example of the **Metrics chart** menu item.*  

![Metrics for Orphaned DTA service instances with the message No metrics found for this Resource (7.12)][10]  
*The **Metrics chart** modal for this Resource.*  

___

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

<i class="fal fa-edit" aria-hidden="true"></i> [Configuration][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

<i class="fab fa-connectdevelop" aria-hidden="true"></i> <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Microsoft BizTalk Server Monitoring Agent][BizTalk Agent]
<i class="fal fa-display" aria-hidden="true"></i> [Monitor Views][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Categories/HealthCheck/OrphanedDtaServiceInstancesResource.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Categories/HealthCheck/Actions.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Categories/HealthCheck/ActionDetailsMenuItem.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Categories/HealthCheck/OrphanedDtaServiceInstances_NONE.png
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Categories/HealthCheck/OrphanedDtaServiceInstances_Action.png
[6]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Categories/HealthCheck/RemoveOrphanedInstanceActionMenuItem.png
[7]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Categories/HealthCheck/ActionEditMenuItem.png
[8]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Categories/HealthCheck/OrphanedDtaServiceInstancesEdit.png
[9]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Categories/HealthCheck/ActionsMetricsChart.png
[10]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Categories/HealthCheck/OrphanedDtaServiceInstancesMetrics.png

[BizTalk Agent]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/overview/
[Configuration]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/getting-started/configuration/
[Configuration - Misc]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/getting-started/configuration/health-check-tab/#misc
[Expected State]:https://docs.nodinite.com/administration/monitor-management/resources/features/expected-state/
[Health Check]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/health-check/overview/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Prerequisites for BizTalk Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/getting-started/prerequisites/
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/