Microsoft Knowledge Base Email Alertz

FIX: The TrackedMessages_Copy_BizTalkMsgBoxDb SQL Server Agent job fails

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 951657 - Last Review: March 15, 2011 - Revision: 2.0

FIX: The TrackedMessages_Copy_BizTalkMsgBoxDb SQL Server Agent job fails

On This Page

SYMPTOMS

On a server that is running Microsoft BizTalk Server 2004, BizTalk Server 2006, or BizTalk 2006 R2, the TrackedMessages_Copy_BizTalkMsgBoxDb SQL Server Agent job does not run. When this occurs, an error message that resembles the following is logged in the SQL Server Agent job log:
Server Server_name
Job Name TrackedMessages_Copy_BizTalkMsgBoxDb
Step Name Purge
Duration Duration_time
Sql Severity Severity
Sql Message ID Message_ID
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted 0

Message
Executed as user: User_name. ... hint is used.
[SQLSTATE 01000] (Message message_ID) Transaction (Process ID process_ID) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

CAUSE

This problem occurs because of an error in a stored procedure that is contained in the TrackedMessages_Copy_BizTalkMsgBoxDb SQL Server Agent job.

RESOLUTION

Hotfix information

For Microsoft BizTalk Server 2006 R2

To resolve this problem, apply the hotfix package that is described in the following Microsoft Knowledge Base article:
967931  (http://kbalertz.com/Feedback.aspx?kbNumber=967931/ ) FIX: Unused subscription predicates are not purged from the NotEqualsPredicates table of the BizTalkMsgBoxDB database in BizTalk Server 2006 and in BizTalk 2006 R2

For Microsoft BizTalk Server 2006

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Microsoft BizTalk Server 2004 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/default.aspx?scid=fh;[LN];CNTACTMS (http://support.microsoft.com/default.aspx?scid=fh;[LN];CNTACTMS)
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Known issue


Some BizTalk databases may not be updated if you change the BizTalk Server group name before you apply this hotfix package. To avoid this issue, rename the BizTalk Server group back to the following default name before you apply the hotfix:
BizTalk Group

Prerequisites

There are no prerequisites for installing this hotfix package.

Restart requirement

You do not have to restart the computer after you apply this hotfix package.

Hotfix replacement information

This hotfix does not replace a previously released hotfix package.

File information

The English (United States) version of this hotfix package uses a Microsoft Windows Installer package to install the hotfix package. The dates and the times for these files are listed in Coordinated Universal Time (UTC) in the following table. When you view the file information, the date is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Msgboxlogic.sqlNot applicable542,75011-Apr-200813:21Not applicable
Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.

For Microsoft BizTalk Server 2004

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Microsoft BizTalk Server 2004 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/default.aspx?scid=fh;[LN];CNTACTMS (http://support.microsoft.com/default.aspx?scid=fh;[LN];CNTACTMS)
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

There are no prerequisites.

Restart requirement

You do not have to restart the computer after you apply this hotfix package.

Hotfix replacement information

This hotfix does not replace a previously released hotfix package.

File information

The English (United States) version of this hotfix package uses a Microsoft Windows Installer package to install the hotfix package. The dates and the times for these files are listed in Coordinated Universal Time (UTC) in the following table. When you view the file information, the date is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Msgboxlogic.sqlNot applicable351,09225-Nov-200818:18Not applicable
Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.

STATUS

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

MORE INFORMATION

For more information about database structure and jobs, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn.microsoft.com/en-us/library/aa561960%28BTS.20%29.aspx (http://msdn.microsoft.com/en-us/library/aa561960%28BTS.20%29.aspx)
For more information about viewing tracked message and instance data, visit the following MSDN Web site:
http://msdn.microsoft.com/en-us/library/aa561587%28BTS.10%29.aspx (http://msdn.microsoft.com/en-us/library/aa561587%28BTS.10%29.aspx)
For more information about SQL Server Agent jobs in BizTalk Server, click the following article number to view the article in the Microsoft Knowledge Base:
919776  (http://kbalertz.com/Feedback.aspx?kbNumber=919776/ ) Description of the SQL Server Agent jobs in BizTalk Server
For more information about how to maintain and troubleshoot BizTalk Server databases, click the following article number to view the article in the Microsoft Knowledge Base:
952555  (http://kbalertz.com/Feedback.aspx?kbNumber=952555/ ) How to maintain and troubleshoot BizTalk Server databases

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://kbalertz.com/Feedback.aspx?kbNumber=824684/ ) Description of the standard terminology that is used to describe Microsoft software updates

APPLIES TO
  • Microsoft BizTalk Server 2004 Standard Edition
  • Microsoft BizTalk Server 2004 Partner Edition
  • Microsoft BizTalk Server 2004 Enterprise Edition
  • Microsoft BizTalk Server 2004 Developer Edition
  • Microsoft BizTalk Server 2006 Developer Edition
  • Microsoft BizTalk Server 2006 Enterprise Edition
  • Microsoft BizTalk Server 2006 Standard Edition
  • Microsoft BizTalk Server 2006 R2 Branch Edition
  • Microsoft BizTalk Server 2006 R2 Developer Edition
  • Microsoft BizTalk Server 2006 R2 Enterprise Edition
  • Microsoft BizTalk Server 2006 R2 Standard Edition
Keywords: 
kbbiztalk2006presp1fix kbbiztalk2006r2sp1fix kbbtsmessaging kbexpertiseinter kbbiztalk2004sp2fix kbbiztalk2006r2presp1fix kbsurveynew kbbug kbfix kbHotfixServer kbqfe KB951657
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate