FIX: You receive error 1456 when you add a witness to a database mirroring session and the database name is the same as an existing database mirroring session in SQL Server 2005 or SQL Server 2008

Bug #: 50000663 (SQL Hotfix)

Microsoft distributes Microsoft SQL Server 2005 and Microsoft SQL Server 2008 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2005 or SQL Server 2008fix release.

Summary

This article describes the following about this hotfix release:

  • The issues that are fixed by this hotfix package
  • The prerequisites for installing the hotfix package
  • Information about whether you must restart the computer after you install the hotfix package
  • Information about whether the hotfix package is replaced by any other hotfix package
  • Information about whether you must make any registry changes
  • The files that are contained in the hotfix package

Symptoms

You have a database mirroring session in SQL Server 2005 or in SQL Server 2008. The database name of the new database mirroring session is the same as an existing database mirroring session for which the witness server is either a witness or a partner server. When you add a witness to the new database mirroring session, you receive error 1456, and the witness is not added to the new database mirroring session.

Resolution

SQL Server 2008 Service Pack 1

The fix for this issue was first released in Cumulative Update 10 for SQL Server 2008 Service Pack 1. For more information about this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:

2279604 Cumulative update package 10 for SQL Server 2008 Service Pack 1 Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 fix release. Microsoft recommends that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

970365 The SQL Server 2008 builds that were released after SQL Server 2008 Service Pack 1 was releasedMicrosoft SQL Server 2008 hotfixes are created for specific SQL Server service packs. You must apply a SQL Server 2008 Service Pack 1 hotfix to an installation of SQL Server 2008 Service Pack 1. By default, any hotfix that is provided in a SQL Server service pack is included in the next SQL Server service pack.

SQL Server 2005

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:

http:⁠//support.microsoft.com/contactus/?ws=support Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

You have Microsoft SQL Server 2005 Service Pack 1 (SP1) installed to apply this hotfix.

For more information about how to obtain SQL Server 2005 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:

913089 How to obtain the latest service pack for SQL Server 2005

Restart information

You do not have to restart the computer after you apply this hotfix. However, you must restart the SQL Server service after you apply this hotfix. To do this, follow these steps:

  1. Click Start, click All Programs, click Microsoft SQL Server 2005, click Configuration Tools, and then click SQL Server Configuration Manager.
  2. Click SQL Server 2005 Services, right-click SQL Server (ServerName), and then click Restart.

Registry information

You do not have to change the registry.

Hotfix file information

This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain of all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it 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.

SQL Server 2005 32-bit versions

File name File version File size Date Time Platform
Databasemailengine.dll 9.0.2211.0 72,480 05-Jan-2007 05:15 x86
Gac.as.adomdclient.dll 9.0.2211.0 543,520 05-Jan-2007 05:16 x86
Hauresourcedb.ldf Not Applicable 524,288 05-Jan-2007 02:13 Not Applicable
Hauresourcedb.mdf Not Applicable 40,108,032 05-Jan-2007 02:13 Not Applicable
Logread.exe 2005.90.2211.0 398,112 05-Jan-2007 05:16 x86
Microsoft.analysisservices 9.0.2211.0 1,215,264 05-Jan-2007 05:16 Not Applicable
Microsoft.sqlserver.sqlenum 9.0.2211.0 908,064 05-Jan-2007 05:16 Not Applicable
Ms.as.adomdclient.dll 9.0.2211.0 543,520 05-Jan-2007 05:16 x86
Ms.as.deployengine.dll 9.0.2211.0 138,016 05-Jan-2007 05:16 x86
Ms.ss.mgdsqldumper.dll 2005.90.2211.0 75,552 05-Jan-2007 05:16 x86
Msasxpress.dll 9.0.2211.0 22,304 05-Jan-2007 05:16 x86
Msgprox.dll 2005.90.2211.0 197,920 05-Jan-2007 05:16 x86
Qrdrsvc.exe 2005.90.2211.0 366,880 05-Jan-2007 05:16 x86
Rdistcom.dll 2005.90.2211.0 640,800 05-Jan-2007 05:16 x86
Repldp.dll 2005.90.2211.0 184,608 05-Jan-2007 05:16 x86
Replmerg.exe 2005.90.2211.0 318,240 05-Jan-2007 05:16 x86
Replprov.dll 2005.90.2211.0 547,616 05-Jan-2007 05:16 x86
Replrec.dll 2005.90.2211.0 782,112 05-Jan-2007 05:16 x86
Replsub.dll 2005.90.2211.0 404,768 05-Jan-2007 05:16 x86
Sbmsmdlocal.dll 9.0.2211.0 15,642,912 05-Jan-2007 05:16 x86
Sbmsmdredir.dll 9.0.2211.0 3,991,328 05-Jan-2007 05:16 x86
Spresolv.dll 2005.90.2211.0 174,368 05-Jan-2007 05:16 x86
Sqlaccess.dll 2005.90.2211.0 347,936 05-Jan-2007 05:16 x86
Sqlagent90.exe 2005.90.2211.0 318,752 05-Jan-2007 05:16 x86
Sqlservr.exe 2005.90.2211.0 28,970,840 05-Jan-2007 05:16 x86
Sysdbupg.sql Not Applicable 218,486 29-Dec-2006 20:53 Not Applicable
Template_hauresourcedb.ldf Not Applicable 524,288 05-Jan-2007 02:13 Not Applicable
Template_hauresourcedb.mdf Not Applicable 40,108,032 05-Jan-2007 02:13 Not Applicable
Xmlsub.dll 2005.90.2211.0 192,800 05-Jan-2007 05:17 x86
Xpstar90.dll 2005.90.2211.0 292,640 05-Jan-2007 05:17 x86
Xpstar90.rl 2005.90.2211.0 152,864 05-Jan-2007 05:16 Not Applicable

SQL Server 2005 64-bit version

File name File version File size Date Time Platform
Databasemailengine.dll 9.0.2211.0 72,480 06-Jan-2007 03:14 x86
Gac.as.adomdclient.dll 9.0.2211.0 543,520 06-Jan-2007 03:14 x86
Hauresourcedb.ldf Not Applicable 524,288 05-Jan-2007 02:13 Not Applicable
Hauresourcedb.mdf Not Applicable 40,108,032 05-Jan-2007 02:13 Not Applicable
Logread.exe 2005.90.2211.0 522,528 06-Jan-2007 03:14 x64
Microsoft.analysisservices 9.0.2211.0 1,215,264 05-Jan-2007 05:16 Not Applicable
Microsoft.sqlserver.sqlenum 9.0.2211.0 875,296 06-Jan-2007 03:14 Not Applicable
Ms.as.adomdclient.dll 9.0.2211.0 543,520 06-Jan-2007 03:14 x86
Ms.as.deployengine.dll 9.0.2211.0 138,016 05-Jan-2007 05:16 x86
Ms.ss.mgdsqldumper.dll 2005.90.2211.0 91,424 06-Jan-2007 03:14 x64
Msasxpress.dll 9.0.2211.0 27,424 06-Jan-2007 03:14 x64
Msgprox.dll 2005.90.2211.0 259,360 06-Jan-2007 03:14 x64
Qrdrsvc.exe 2005.90.2211.0 431,392 06-Jan-2007 03:14 x64
Rdistcom.dll 2005.90.2211.0 833,824 06-Jan-2007 03:14 x64
Repldp.dll 2005.90.2211.0 235,296 06-Jan-2007 03:14 x64
Replmerg.exe 2005.90.2211.0 415,008 06-Jan-2007 03:14 x64
Replprov.dll 2005.90.2211.0 745,248 06-Jan-2007 03:14 x64
Replrec.dll 2005.90.2211.0 1,008,416 06-Jan-2007 03:14 x64
Replsub.dll 2005.90.2211.0 525,600 06-Jan-2007 03:14 x64
Sbmsmdlocal.dll 9.0.2211.0 15,642,912 05-Jan-2007 05:16 x86
Sbmsmdredir.dll 9.0.2211.0 3,991,328 05-Jan-2007 05:16 x86
Spresolv.dll 2005.90.2211.0 223,008 06-Jan-2007 03:14 x64
Sqlaccess.dll 2005.90.2211.0 355,104 06-Jan-2007 03:14 x86
Sqlagent90.exe 2005.90.2211.0 389,920 06-Jan-2007 03:14 x64
Sqlservr.exe 2005.90.2211.0 39,353,120 06-Jan-2007 03:14 x64
Sysdbupg.sql Not Applicable 218,486 29-Dec-2006 20:53 Not Applicable
Template_hauresourcedb.ldf Not Applicable 524,288 05-Jan-2007 02:13 Not Applicable
Template_hauresourcedb.mdf Not Applicable 40,108,032 05-Jan-2007 02:13 Not Applicable
Xmlsub.dll 2005.90.2211.0 317,216 06-Jan-2007 03:14 x64
Xpstar90.dll 2005.90.2211.0 540,960 06-Jan-2007 03:14 x64

Note Because of file dependencies, the most recent hotfix or feature 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.

More Information

You can run a witness server in Microsoft SQL Server Express Edition, and SQL Server Express Edition does not require a SQL Server license. Therefore, use multiple witness instances when you use SQL Server Express Edition.

For more information about the terminology that Microsoft uses when it corrects software after the software is released, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

For more information about database mirroring in SQL Server 2005, visit the following Microsoft Web site:

http:⁠//technet.microsoft.com/en-us/library/cc917680.aspx

References

For more information about the Incremental Servicing Model for SQL Server, click the following article number to view the article in the Microsoft Knowledge Base:

935897 An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problems For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:

822499 New naming schema for Microsoft SQL Server software update packagesFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates