
Common TDDS Errors and Warnings
Using the TDDS_FailedTrackingData Table
When the Tracking Data Decode service (TDDS) fails to process tracking or BAM data, it writes the failure information to the TDDS_FailedTrackingData table in binary format. This table is part of the schema of the BAM database. (This database is named BAMPrimaryImport by default, and may also be referred to as the PrimaryImport database, the PIT, or the PIDb). The HAT database is the Tracking database (referred to also as the DTADB database).
SQL Server Errors
You may receive an error message that is similar to the following in the application log of a server that is running Microsoft BizTalk Server:
Reading error. Exception information: TDDS failed to read from source database. SQLServer: SQLSERVER, Database: BizTalkMsgBoxDb.
Or in the event log you may see:
Either another TDDS is processing the same data or there is an orphaned session in SQL server holding TDDS lock. Either another TDDS is processing the same data or there is an orphaned session in SQL server holding TDDS lock. SQL Server: ServerName Database: DatabaseName
For more information about these messages, see KB article http://support.microsoft.com/?scid=kb;en-us;841334&spid=1444&sid=312
Late BAM Installation and TDDS SQL Server Connection Strings
If a BizTalk Server installation is initially done without BAM, and later BAM is installed and configured, the BizTalk Server Application service (the BizTalk Tracking Host) needs to be restarted so that its TDDS subservice can pick up the new connection string. Otherwise the Event Bus service reports an error in the Event log that a stored procedure is not found.
If you check the connection string (in the BizTalkMgmtDb database, TDDS_Destinations table, ConnectionString column where DestinationName = "Business Monitoring") you will find that it is pointing to the BAMPrimaryImport database. However, the error message indicates that the events that failed to be processed were moved to the TDDS_FailedTrackingData table in the BizTalkDTA database. This error message indicates that the connection strings encountered a timing issue during configuration, which means that the update of the original connections is still in the cache and requires recycling of the Event Bus service (the BizTalk Host under which the service is running).
To fix this problem, restart the BizTalk Server Application service. Because BAM was installed after the initial BizTalk Server installation, the connection string must be changed by the restart process.