---
title: FAQ & Troubleshooting for BizTalk Server Logging to Nodinite – Solutions and Best Practices
description: Quickly resolve BizTalk Server logging issues with Nodinite. Get expert troubleshooting tips, answers to common questions, and best practices for robust, reliable integration monitoring and performance.
---

# FAQ and Troubleshooting BizTalk Server Logging to Nodinite

Resolve BizTalk Server logging issues with confidence using <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>. On this page, you will:

* ✅ Get expert troubleshooting tips for common BizTalk logging problems  
* ✅ Learn how to resolve SQL Server, deadlock, and tracking issues  
* ✅ Discover best practices for robust, reliable integration monitoring  
* ✅ Find answers to frequently asked questions and next steps for support

If you have any issues that you can not solve, contact our [Support][]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, read more on the [Support page][SupportPage].  

## Login failed for user "NT AUTHORITY\ANONYMOUS LOGON"

Review the [Trusted for delegation][] user guide to ensure the Kerberos security protocol works correctly.  

## "Could not allocate space for object"

A **tempdb** configuration issue in SQL Server can cause this error. Review the [BizTalk Server Logging Recommendations][BizTalkLoggingRecommendations] user guide.  
When this problem occurs, SQL cannot sort the data to return, so BizTalk logging fails until you resolve the issue.  

When you first enable Logging from BizTalk, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> may need to catch up and copy everything from the BizTalk tracking database (BizTalkDTADb). This initial load can exhaust resources and fill the tempdb's primary filegroup (usually on the SQL Server instance with BizTalkDTADb).  

```python
Failed to copy/insert Events from BizTalk to Nodinite","exception":"System.Data.SqlClient.SqlException (0x80131904): Could not allocate space for object 'dbo.SORT temporary run storage:  140865700167680' in database 'tempdb' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock,
```

## About Deadlocks

* BizTalk Server acquires locks as part of normal operation. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> allows its thread to become the deadlock victim, which helps SQL Server resolve the deadlock quickly.  
  * <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> retries the operation shortly, so you do not lose data.  
  * Deadlocks indicate a system under high stress.  
    * Check if you have exhausted available free memory.  
    * Check if CPU load stays above 90%.  
* Review and implement our [BizTalk Logging Recommendations][BizTalkLoggingRecommendations] to optimize both <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> and BizTalk Server environments.  

## Custom Pipelines

If you miss data in the tracking database (DTA), review [this][CustomPipelines] page.  

## <i class="fal fa-trash-can" aria-hidden="true"></i> Uninstall

To uninstall, read the information on [this][Uninstall] page.  

### Questions to answer and actions to perform

<i class="fal fa-question-square" aria-hidden="true"></i> Does the BizTalk Server environment perform well, or do you see performance-related problems?  

<i class="fal fa-question-square" aria-hidden="true"></i> When did you last split? For example, how old is the current [Log Database][Log Databases]?  

* The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Logging Service][] creates a new <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log Database][Log Databases] when the active database becomes too old or too large.  

<i class="fal fa-question-square" aria-hidden="true"></i> Does the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Logging Service][] have problems creating new <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log Databases][]? Inspect the [Audit Log][Log Audits] and <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Logging Service][] diagnostic files to troubleshoot.  

<i class="fal fa-question-square" aria-hidden="true"></i> What is the size of the current Log Database?  

* On modern hardware, when you follow prerequisites and recommendations, the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log Databases][] split when the size exceeds 80-150 GB, depending on hardware performance. Review the following [System Parameters][]:  
  * [DaysToSplitDatabaseOn][]  
  * [DaysToKeepMessageEventsDefault][]  
  * [DaysToKeepMessageDataDefault][]  
  * [DaysToKeepMessageContextDefault][]  
* Review the retention period for [Log Events][Log Event] by [Message Types][]:  
  * Days to keep message events  
  * Days to keep message data  
  * Days to keep message context  

<i class="fal fa-question-square" aria-hidden="true"></i> What is the size of the BizTalk Tracking database?  

>* If the database is larger than 20-30 GB, review how many days you keep data in BizTalk.  

<i class="fal fa-question-square" aria-hidden="true"></i> For how long do you keep events in the BizTalk Tracking database?  

>* <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> replaces the long-term Logging functionality of BizTalk Tracking. Only keep data in BizTalk for a few days. We recommend 4-7 days to survive system issues over long weekends.  
>Use the latest <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> version for ongoing performance improvements.  
>* <i class="fal fa-rocket" aria-hidden="true"></i> [Install and Update Tool][InstallUpdate]  
>* <i class="fal fa-arrow-turn-up" aria-hidden="true"></i> [Update Nodinite][NodiniteUpdate]  

## Copying Body and Context has been interrupted

If you notice no processing of logged events from BizTalk, contact our support.  
This problem typically occurs if your BizTalk Server environment experiences one or more of the following (not a complete list):  

* You run out of disk space  
  * You restored incorrectly  
  * You have a referential integrity mismatch between BizTalk **MgsBoxDB** and **BizTalkDTADB**  
* You experience extremely high load  
  * BizTalk can write thousands of tracked events with the same timestamp (not normal)  
* You enable excessive tracking due to pipeline tracking. Review the [Recommended tracking settings for BizTalk Server default pipelines][TrackingDefaultPipelines] user guide.  
* The system reports a timeout as a system error in the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Audit Log][Log Audits] if you search for `DTA` as part of the **function**:  
    ![DTA][1]  
    *If any of these functions time out, you may have a problem with BizTalk logging.*  
* <sup><span class="nodinite-new-badge">New 7.12</span></sup> The [linked server][Linked Servers] to the BizTalk SQL Server is slow, for example over a VPN, and a batch with large bodies takes longer than the 600 seconds one read may take. The copy then reads the same batch again on every run and never gets past it. From a 7.12 update (7.12.x), raise the [BizTalkTrackedDataCommandTimeoutSeconds][] System Parameter; it applies on the next copy run, without a restart.  

Message data whose matching events never arrive is not kept forever: the [Logging Service][] cleanup deletes it after the number of days set in the [MissingEventsDays][] System Parameter (default 7). Raise that value if BizTalk tracking can be interrupted for longer.

If you need an instant resolution, follow these steps.  

1. Stop the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Logging Service][]  
2. <p>Execute the script below:</p>
   <ol type="a">
   <li>Open SSMS</li>
   <li>Open a new query with the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://docs.nodinite.com/core-services/configuration-database/overview/">Configuration Database</a></li>
   <li>Copy, modify, and execute as appropriate</li>
   </ol>

> **Note1:** Replace the value for `@logAgentValueId` as appropriate for your configuration. Verify the actual value using the [Configure Microsoft BizTalk Server Logging Agent][Manage BizTalk Logging] section.  
> **Note2:** Double the initial default value `5000` until the output returns a successful transfer of bodies or context.  

```sql
DECLARE @temp DTADataTableType, @logAgentValueId INT = 1;
INSERT INTO @temp EXEC [Log_DTAGetTrackedData] 5000, @logAgentValueId , null, 0, 1;
EXEC [Log_DTAInsertTrackedData] @temp, @logAgentValueId, @printText=1 
```

1. Attach the output to your support request so we can document and investigate the situation to find the root cause.  
2. Restart the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Logging Service][]  

## What is the largest size for logged Context in BizTalk?

To find the largest logged context data, run the following command in SSMS using the BizTalk tracking database (`BizTalkDTADB`):  

```sql
SELECT MAX(datalength(imgpart)) FROM Tracking_Parts1 WITH (NOLOCK)
```

You can then find the message Id, either in BizTalkDTADB or from the **Admin** [Log View][Log Views] within <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.  

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

* <i class="fal fa-gears" aria-hidden="true"></i> [Manage BizTalk Logging][] - Add or remove BizTalk logging  
* <i class="fal fa-lightbulb" aria-hidden="true"></i> [Recommendations for BizTalk logging][BizTalkLoggingRecommendations]  

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

* <i class="fal fa-trash-can" aria-hidden="true"></i> [Uninstall][]  
* <i class="fal fa-puzzle-piece" aria-hidden="true"></i> [Custom Pipelines][CustomPipelines]  
* <i class="fal fa-gear" aria-hidden="true"></i> [Logging Service][]  
* <i class="fal fa-database" aria-hidden="true"></i> [Log Databases][]  
* <i class="fal fa-headset" aria-hidden="true"></i> [Support][SupportPage]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/BizTalk/DTAFunctionAuditFilter.png

[BizTalkLoggingRecommendations]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/getting-started/recommendations/
[BizTalkTrackedDataCommandTimeoutSeconds]:https://docs.nodinite.com/administration/settings/system-parameters/biztalktrackeddatacommandtimeoutseconds/
[Configuration Database]:https://docs.nodinite.com/core-services/configuration-database/overview/
[CustomPipelines]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/troubleshooting/custom-pipelines/
[DaysToKeepMessageContextDefault]:https://docs.nodinite.com/administration/settings/system-parameters/daystokeepmessagecontextdefault/
[DaysToKeepMessageDataDefault]:https://docs.nodinite.com/administration/settings/system-parameters/daystokeepmessagedatadefault/
[DaysToKeepMessageEventsDefault]:https://docs.nodinite.com/administration/settings/system-parameters/daystokeepmessageeventsdefault/
[DaysToSplitDatabaseOn]:https://docs.nodinite.com/administration/settings/system-parameters/daystosplitdatabaseon/
[InstallUpdate]:https://docs.nodinite.com/install-and-update/overview/
[Linked Servers]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/linked-servers/
[Log Audits]:https://docs.nodinite.com/administration/tools/log-audit-search/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[Manage BizTalk Logging]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/features/managing-biztalk-logging/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[MissingEventsDays]:https://docs.nodinite.com/administration/settings/system-parameters/missingeventsdays/
[NodiniteUpdate]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-install-and-update-tool/
[Support]:https://support.nodinite.com/
[SupportPage]:https://docs.nodinite.com/getting-started/support/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[TrackingDefaultPipelines]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/troubleshooting/recommended-tracking-settings-for-default-pipelines/
[Trusted for delegation]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/trusted-for-delegation/
[Uninstall]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/troubleshooting/uninstall/