---
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 :Nodinite:. 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>:fa-arrow-up-right-from-square:</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, :Nodinite: 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. :Nodinite: allows its thread to become the deadlock victim, which helps SQL Server resolve the deadlock quickly.  
  * :Nodinite: 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 :Nodinite: and BizTalk Server environments.  

## Custom Pipelines

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

## :fa-trash-can: Uninstall

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

### Questions to answer and actions to perform

:fa-question-square: Does the BizTalk Server environment perform well, or do you see performance-related problems?  

:fa-question-square: When did you last split? For example, how old is the current [Log Database][Log Databases]?  

* The :Nodinite: [Logging Service][] creates a new :Nodinite: [Log Database][Log Databases] when the active database becomes too old or too large.  

:fa-question-square: Does the :Nodinite: [Logging Service][] have problems creating new :Nodinite: [Log Databases][]? Inspect the [Audit Log][Log Audits] and :Nodinite: [Logging Service][] diagnostic files to troubleshoot.  

:fa-question-square: What is the size of the current Log Database?  

* On modern hardware, when you follow prerequisites and recommendations, the :Nodinite: [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  

:fa-question-square: 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.  

:fa-question-square: For how long do you keep events in the BizTalk Tracking database?  

>* :Nodinite: 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 :Nodinite: version for ongoing performance improvements.  
>* :fa-rocket: [Install and Update Tool][InstallUpdate]  
>* :fa-arrow-turn-up: [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 :Nodinite: [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.*  
* :new7.12: 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 :Nodinite: [Logging Service][]  
2. Execute the script below:  
    a. Open SSMS  
    b. Open a new query with the :Nodinite: [Configuration Database][]  
    c. Copy, modify, and execute as appropriate  

> **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 :Nodinite: [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 :Nodinite:.  

## :fa-hand-point-right: Next Steps

* :fa-gears: [Manage BizTalk Logging][] - Add or remove BizTalk logging  
* :fa-lightbulb: [Recommendations for BizTalk logging][BizTalkLoggingRecommendations]  

## :fa-link-horizontal: Related Topics

* :fa-trash-can: [Uninstall][]  
* :fa-puzzle-piece: [Custom Pipelines][CustomPipelines]  
* :fa-gear: [Logging Service][]  
* :fa-database: [Log Databases][]  
* :fa-headset: [Support][SupportPage]  

[1]:{ndm}/Documentation%20Pictures/LogAgent/BizTalk/DTAFunctionAuditFilter.png

[BizTalkLoggingRecommendations]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Logging/Getting%20started/4.%20Recommendations.md
[BizTalkTrackedDataCommandTimeoutSeconds]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/BizTalkTrackedDataCommandTimeoutSeconds.md
[Configuration Database]:{ndr}/Core%20Services/Configuration%20Database/Overview.md
[CustomPipelines]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Logging/Troubleshooting/Custom%20Pipelines.md
[DaysToKeepMessageContextDefault]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/DaysToKeepMessageContextDefault.md
[DaysToKeepMessageDataDefault]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/DaysToKeepMessageDataDefault.md
[DaysToKeepMessageEventsDefault]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/DaysToKeepMessageEventsDefault.md
[DaysToSplitDatabaseOn]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/DaysToSplitDatabaseOn.md
[InstallUpdate]:{ndr}/Install%20and%20Update/Overview.md
[Linked Servers]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Linked%20Servers.md
[Log Audits]:{ndr}/Administration/6.%20Tools/2.%20Log%20Audit%20Search.md
[Log Databases]:{ndr}/Core%20Services/Log%20Databases/Overview.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[Manage BizTalk Logging]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Logging/Features/Managing%20BizTalk%20Logging.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[MissingEventsDays]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/MissingEventsDays.md
[NodiniteUpdate]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20Install%20and%20Update%20Tool.md
[Support]:https://support.nodinite.com/
[SupportPage]:{ndr}/Getting%20Started/Support.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[TrackingDefaultPipelines]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Troubleshooting/Recommended%20tracking%20settings%20for%20default%20pipelines.md
[Trusted for delegation]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Trusted%20for%20delegation.md
[Uninstall]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Logging/Troubleshooting/Uninstall.md