DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 934065 - Last Review: August 31, 2010 - Revision: 2.0

Hotfix Download Available
View and request hotfix downloads
 
Bug: #50000902 (SQL Hotfix)
Notice
Microsoft distributes Microsoft SQL Server 2005 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 fix release.

On This Page

SUMMARY

This article describes the following about this hotfix release:
  • The issues that are fixed by the hotfix package
  • The prerequisites for installing the hotfix package
  • Whether you must restart the computer after you install the hotfix package
  • Whether the hotfix package is replaced by any other hotfix package
  • Whether you must make any registry changes
  • The files that are contained in the hotfix package

SYMPTOMS

When the Replication Merge Agent runs to synchronize a merge replication subscription in Microsoft SQL Server 2005, you receive the following error messages in the Replication Merge Agent log file:
Date Time [9%] [93 sec remaining] Beginning evaluating partial replication filters
Date Time [9%] [93 sec remaining] The merge process failed to execute a query because the query timed out. If this failure continues, increase the query timeout for the process. When troubleshooting, restart the synchronization with verbose history logging and specify an output file to which to write.
Date Time [9%] [93 sec remaining] The merge process failed to execute a query because the query timed out. If this failure continues, increase the query timeout for the process. When troubleshooting, restart the synchronization with verbose history logging and specify an output file to which to write.

CAUSE

This issue occurs because queries time out when the Replication Merge Agent runs the queries to synchronize the merge replication subscription. The Replication Merge Agent queries time out because the plan that is chosen for execution of these queries is inefficient. The plan decision is affected by the cardinality estimation of a built-in function. Replication uses the built-in function to perform permission checks.

RESOLUTION

Cumulative update information

To resolve this problem, obtain the cumulative update package (build 3173) for SQL Server 2005 Service Pack 2 (SP2). For more information, click the following article number to view the article in the Microsoft Knowledge Base:
936305  (http://support.microsoft.com/kb/936305/ ) Cumulative update package 2 for SQL Server 2005 Service Pack 2 is available

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 (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 must have SQL Server 2005 Service Pack 1 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  (http://support.microsoft.com/kb/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.

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 version
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Bcp.exe2005.90.2226.069,48819-Mar-200711:57x86
Databasemailengine.dll9.0.2226.075,12019-Mar-200711:57x86
Logread.exe2005.90.2226.0400,75219-Mar-200711:58x86
Microsoft.analysisservices.adomdclient.dll9.0.2226.0546,16019-Mar-200711:58x86
Microsoft.analysisservices.deploymentengine.dll9.0.2226.0140,65619-Mar-200711:58x86
Microsoft.analysisservices.dll9.0.2226.01,217,90419-Mar-200711:58x86
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2226.078,19219-Mar-200711:58x86
Microsoft.sqlserver.sqlenum.dll9.0.2226.0910,70419-Mar-200711:58x86
Msasxpress.dll9.0.2226.024,94419-Mar-200711:58x86
Msgprox.dll2005.90.2226.0200,56019-Mar-200711:58x86
Msmdlocal.dll9.0.2226.015,646,06419-Mar-200711:58x86
Msmdredir.dll9.0.2226.03,993,96819-Mar-200711:58x86
Mssqlsystemresource.ldfNot Applicable524,28819-Mar-200709:30Not Applicable
Mssqlsystemresource.mdfNot Applicable40,108,03219-Mar-200709:30Not Applicable
Qrdrsvc.exe2005.90.2226.0369,52019-Mar-200711:58x86
Rdistcom.dll2005.90.2226.0643,44019-Mar-200711:58x86
Repldp.dll2005.90.2226.0187,24819-Mar-200711:58x86
Replmerg.exe2005.90.2226.0320,88019-Mar-200711:58x86
Replprov.dll2005.90.2226.0550,25619-Mar-200711:58x86
Replrec.dll2005.90.2226.0784,75219-Mar-200711:58x86
Replsub.dll2005.90.2226.0407,40819-Mar-200711:58x86
Spresolv.dll2005.90.2226.0177,00819-Mar-200713:30x86
Sqlaccess.dll2005.90.2226.0350,57619-Mar-200713:30x86
Sqlagent90.exe2005.90.2226.0321,39219-Mar-200713:30x86
Sqlservr.exe2005.90.2226.028,981,16019-Mar-200713:30x86
Sysdbupg.sqlNot Applicable218,48629-Dec-200613:53Not Applicable
Xmlsub.dll2005.90.2226.0195,44019-Mar-200713:30x86
Xpstar90.dll2005.90.2226.0295,28019-Mar-200713:30x86
Xpstar90.rll2005.90.2226.0155,50419-Mar-200711:58x86
SQL Server 2005 x64-based version
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
bcp.exe2005.90.2226.088,94419-Mar-200710:53x64
databasemailengine.dll9.0.2226.075,12019-Mar-200710:53x86
logread.exe2005.90.2226.0525,16819-Mar-200710:53x64
Microsoft.analysisservices.adomdclient.dll9.0.2226.0546,16019-Mar-200710:53x86
Microsoft.analysisservices.adomdclient.dll9.0.2226.0546,16019-Mar-200711:58x86
Microsoft.analysisservices.deploymentengine.dll9.0.2226.0140,65619-Mar-200711:58x86
Microsoft.analysisservices.dll9.0.2226.01,217,90419-Mar-200711:58x86
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2226.094,06419-Mar-200710:53x64
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2226.078,19219-Mar-200711:58x86
Microsoft.sqlserver.sqlenum.dll9.0.2226.0877,93619-Mar-200710:53x86
Msasxpress.dll9.0.2226.030,06419-Mar-200710:53x64
Msasxpress.dll9.0.2226.024,94419-Mar-200711:58x86
Msgprox.dll2005.90.2226.0262,00019-Mar-200710:53x64
Msmdlocal.dll9.0.2226.015,646,06419-Mar-200711:58x86
Msmdredir.dll9.0.2226.03,993,96819-Mar-200711:58x86
Mssqlsystemresource.ldfNot Applicable524,28819-Mar-200709:30Not Applicable
Mssqlsystemresource.mdfNot Applicable40,108,03219-Mar-200709:30Not Applicable
qrdrsvc.exe2005.90.2226.0434,03219-Mar-200710:53x64
rdistcom.dll2005.90.2226.0836,46419-Mar-200710:53x64
Repldp.dll2005.90.2226.0237,93619-Mar-200710:53x64
Repldp.dll2005.90.2226.0187,24819-Mar-200711:58x86
Replmerg.exe2005.90.2226.0417,64819-Mar-200710:53x64
Replprov.dll2005.90.2226.0747,88819-Mar-200710:54x64
Replrec.dll2005.90.2226.01,011,05619-Mar-200710:54x64
Replsub.dll2005.90.2226.0528,24019-Mar-200710:54x64
spresolv.dll2005.90.2226.0225,64819-Mar-200710:54x64
Sqlaccess.dll2005.90.2226.0357,74419-Mar-200710:54x86
Sqlagent90.exe2005.90.2226.0392,56019-Mar-200710:54x64
Sqlservr.exe2005.90.2226.039,368,04819-Mar-200710:54x64
Sysdbupg.sqlNot Applicable218,48629-Dec-200613:53Not Applicable
Xmlsub.dll2005.90.2226.0319,85619-Mar-200710:54x64
Xpstar90.dll2005.90.2226.0543,60019-Mar-200710:54x64
Xpstar90.rll2005.90.2226.0156,01619-Mar-200710:54x64

STATUS

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

MORE INFORMATION

To enable this hotfix, you must turn on trace flag 4111 after you apply the hotfix. 

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  (http://support.microsoft.com/kb/822499/ ) New naming schema for Microsoft SQL Server software update packages
For 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 updates

APPLIES TO
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Standard X64 Edition
  • Microsoft SQL Server 2005 Standard Edition for Itanium-based Systems
  • Microsoft SQL Server 2005 Enterprise X64 Edition
  • Microsoft SQL Server 2005 Enterprise Edition for Itanium-based Systems
Keywords: 
kbautohotfix kbsql2005repl kbexpertiseadvanced kbfix kbqfe kbhotfixserver KB934065
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support