Select the product you need help with
FIX: Error message when you start database mirroring in SQL Server 2005 on a database that is restored or upgraded from SQL Server 2000: "The Service Broker ID for the remote copy of database "<DatabaseName>" does not match the ID on the principal server"Article ID: 959008 - View products that this article applies to. On This PageSYMPTOMSConsider one of the following scenarios:
The Service Broker ID for the remote copy of database "<DatabaseName>" does not match the ID on the principal server. (Microsoft SQL Server, Error: 1436) You usually encounter this problem when you upgrade a Microsoft SQL Server 2000 log shipping configuration. Consider the following scenario:
CAUSEDatabases in SQL Server 2000 do not have a Service Broker ID. If you restore these databases on instances of SQL Server 2005 by using the WITH NORECOVERY option, these databases will not be upgraded. Therefore, the Service Broker ID of these databases is NULL after the restore. Additionally, if you upgrade an instance of SQL Server 2000, existing databases that are in the Loading status will not be upgraded. Therefore, the Service Broker ID of these databases is NULL after the upgrade. When you start database mirroring, the Service Broker ID of the principal server is compared to the Service ID of the mirror server. Because the Service Broker IDs do not match, the comparison fails. In the upgrade scenario of a SQL Server 2000 log shipping configuration, the secondary database is in the Loading status. After you upgrade the server that holds the secondary database, the database does not have a Service Broker ID. After you upgrade the server that holds the primary database, the database has a Service Broker ID. When you start database mirroring, the Service Broker ID of the principal server is sent to the mirror server for comparison. Because the Service Broker ID of the mirror server is NULL, the comparison fails. RESOLUTIONService pack informationTo resolve this problem, obtain the latest service pack for SQL Server 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:913089
(http://support.microsoft.com/kb/913089/
)
How to obtain the latest service pack for SQL Server 2005
Important After you install SQL Server 2005 Service Pack 3, enable trace flag 8446 on the mirror server before you start database mirroring. After you have started database mirroring, you can safely remove this trace flag. For more information about how to enable a trace flag, visit the following Microsoft Developer Network (MSDN) Web site: http://msdn.microsoft.com/en-us/library/ms188396(SQL.90).aspx
(http://msdn.microsoft.com/en-us/library/ms188396(SQL.90).aspx)
WORKAROUNDTo work around this problem, follow these steps:
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in SQL Server 2005 Service Pack 3. MORE INFORMATIONFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base: 824684
(http://support.microsoft.com/kb/824684/
)
Description of the standard terminology that is used to describe Microsoft software updatesREFERENCESFor more information about how to upgrade a SQL Server 2000 log shipping configuration, visit the following MSDN Web site: http://msdn.microsoft.com/en-us/library/ms188297(SQL.90).aspx
(http://msdn.microsoft.com/en-us/library/ms188297(SQL.90).aspx)
PropertiesArticle ID: 959008 - Last Review: December 16, 2008 - Revision: 1.0 APPLIES TO
|


Back to the top








