Microsoft KB Archive/811188

= FIX: The merge replication agent stops responding when you perform merge replication between a SQL Server database and a SQL Server CE database or a SQL Server 2005 Compact Edition database by using a custom conflict resolver =

Article ID: 811188

Article Last Modified on 11/2/2007

-

APPLIES TO


 * Microsoft SQL Server 2000 Developer Edition
 * Microsoft SQL Server 2000 Standard Edition
 * Microsoft SQL Server 2000 Enterprise Edition
 * Microsoft SQL Server 2000 Personal Edition
 * Microsoft SQL Server 2000 Enterprise Edition
 * Microsoft SQL Server 2000 Workgroup Edition
 * Microsoft SQL Server 2000 Desktop Engine (Windows)
 * Microsoft SQL Server 2000 Developer Edition
 * Microsoft SQL Server 2000 Enterprise Edition 64-bit
 * Microsoft SQL Server 2000 Windows CE Edition 2.0
 * Microsoft SQL Server 2005 Compact Edition

-



Bug #: 363373 (SQL Server 8.0)



SYMPTOMS
When you perform merge replication between a Microsoft SQL Server 2000 database and a Microsoft SQL Server 2000 Windows CE Edition version 2.0 (SQL Server CE) database or a SQL Server 2005 Compact Edition database that is running on a handheld device such as a Pocket PC, the merge replication agent may stop responding in the following situations:
 * A custom conflict resolver program that uses the apartment threading model is used to perform the merge replication.
 * A conflict occurs between the SQL Server database and the SQL Server CE database or the SQL Server 2005 Compact Edition database during the merge replication process.



Service pack information
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 How to obtain the latest SQL Server 2000 service pack

Hotfix information
The English version of this fix has the file attributes (or later) 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 tool in Control Panel.

Hotfix file information for Microsoft SQL Server 2000 Service Pack 3
  Date         Time   Version            Size    File name -  06-May-2003  03:16  2000.80.818.0      78,400  Console.exe 08-May-2003 04:18  2000.80.818.0      29,244  Dbmslpcn.dll 25-Apr-2003 02:12                    786,432  Distmdl.ldf 25-Apr-2003 02:12                  2,359,296  Distmdl.mdf 30-Jan-2003 01:55                        180  Drop_repl_hotfix.sql 07-Apr-2003 19:15  2000.80.801.0   1,557,052  Dtsui.dll 02-Jul-2002 15:35  2000.80.650.0     107,088  Impprov.dll 24-Apr-2003 02:51                    747,927  Instdist.sql 03-May-2003 01:56                      1,581  Inst_repl_hotfix.sql 20-Aug-2002 16:24  2000.80.679.0     111,172  Logread.exe 08-Feb-2003 06:40  2000.80.765.0      90,692  Msgprox.dll 01-Apr-2003 02:07                      1,873  Odsole.sql 05-Apr-2003 01:46  2000.80.800.0      62,024  Odsole70.dll 02-Apr-2003 21:48  2000.80.796.0      57,904  Osql.exe 02-Apr-2003 23:15  2000.80.797.0     279,104  Pfutil80.dll 03-Jan-2002 01:59                     18,185  Qfe356326.sql 20-Aug-2002 16:47  2000.80.679.0     135,748  Qrdrsvc.exe 26-Aug-2002 22:49  2000.80.679.0     406,088  Rdistcom.dll 04-Oct-2001 01:36                    437,302  Replcom.sql 20-Aug-2002 16:33  2000.80.679.0     152,136  Replmerg.exe 04-Apr-2003 21:27                  1,083,467  Replmerg.sql 04-Apr-2003 21:53  2000.80.798.0     221,768  Replprov.dll 08-Feb-2003 06:40  2000.80.765.0     307,784  Replrec.dll 05-May-2003 00:05                  1,085,874  Replsys.sql 04-Oct-2001 01:36                    881,228  Repltran.sql 26-Aug-2002 22:49  2000.80.679.0     283,208  Rinitcom.dll 16-Sep-2002 22:31                    390,045  Securityhotfix.sql 08-May-2003 04:18  2000.80.818.0     492,096  Semobj.dll 05-May-2003 00:24  2000.80.818.0     172,032  Semobj.rll 16-Apr-2003 22:39                    115,892  Sp3_serv_uni.sql 25-Nov-2002 19:14                         53  Sp_vupgrade_replication.sql 26-Aug-2002 22:49  2000.80.679.0      28,672  Sqlagent.dll 26-Aug-2002 18:39  2000.80.679.0     311,872  Sqlagent.exe 28-Aug-2002 16:32  2000.80.679.0      49,152  Sqlagent.rll 26-Aug-2002 22:49  2000.80.679.0      53,824  Sqlcmdss.dll 28-Aug-2002 16:40  2000.80.679.0      12,288  Sqlcmdss.rll 08-May-2003 04:18  2000.80.818.0   4,215,360  Sqldmo.dll 07-Apr-2003 17:44                     25,172  Sqldumper.exe 19-Mar-2003 18:20  2000.80.789.0      28,672  Sqlevn70.rll 24-Apr-2003 05:39  2000.80.811.0     176,696  Sqlmap70.dll 08-Feb-2003 06:40  2000.80.765.0      57,920  Sqlrepss.dll 08-May-2003 04:19  2000.80.818.0   7,540,817  Sqlservr.exe 08-Feb-2003 06:40  2000.80.765.0      45,644  Sqlvdi.dll 08-May-2003 04:18  2000.80.818.0      29,244  Ssmslpcn.dll 08-May-2003 04:18  2000.80.818.0      82,492  Ssnetlib.dll 08-May-2003 04:18  2000.80.818.0      25,148  Ssnmpn70.dll 08-May-2003 04:18  2000.80.818.0     158,240  Svrnetcn.dll 05-May-2003 00:09  2000.80.818.0      76,416  Svrnetcn.exe 30-Apr-2003 23:52  2000.80.816.0      45,132  Ums.dll 07-Apr-2002 02:08  2000.80.606.0      70,208  Xplog70.dll 07-Apr-2002 02:08  2000.80.606.0      53,828  Xpqueue.dll 07-Apr-2002 02:08  2000.80.606.0     156,228  Xprepl.dll 12-Jul-2002 01:00  2000.80.658.0     279,104  Xpstar.dll 28-Feb-2003 01:34  2000.80.778.0      98,872  Xpweb70.dll

Hotfix file information for Microsoft SQL Server 2000 Service Pack 2
  Date         Time   Version            Size    File name 17-Jan-2002 15:15  2000.80.568.0      29,244  Dbmslpcn.dll 30-Aug-2002 07:38                    786,432  Distmdl.ldf 30-Aug-2002 07:38                  2,359,296  Distmdl.mdf 08-Oct-2002 11:24                        544  Drop_repl_hotfix.sql 02-Jul-2002 02:05  2000.80.650.0     107,088  Impprov.dll 19-Jul-2002 03:26                    774,516  Instdist.sql 08-Oct-2002 10:26                     12,615  Inst_repl_hotfix.sql 20-Aug-2002 02:54  2000.80.679.0     111,172  Logread.exe 29-Nov-2002 06:38  2000.80.711.0      90,692  Msgprox.dll 06-Apr-2002 12:38  2000.80.606.0      62,024  Odsole70.dll 02-Jan-2002 12:29                     18,185  Qfe356326.sql 20-Aug-2002 03:17  2000.80.679.0     135,748  Qrdrsvc.exe 26-Aug-2002 09:19  2000.80.679.0     406,088  Rdistcom.dll 03-Oct-2001 12:06                    437,302  Replcom.sql 20-Aug-2002 03:03  2000.80.679.0     152,136  Replmerg.exe 25-Nov-2002 08:13                  1,004,990  Replmerg.sql 29-Nov-2002 06:38  2000.80.711.0     221,768  Replprov.dll 29-Nov-2002 06:38  2000.80.711.0     303,688  Replrec.dll 03-Oct-2001 12:06                    986,906  Replsys.sql 03-Oct-2001 12:06                    881,228  Repltran.sql 26-Aug-2002 09:19  2000.80.679.0     283,208  Rinitcom.dll 16-Sep-2002 09:01                    390,045  Securityhotfix.sql 25-Nov-2002 05:44                         53  Sp_vupgrade_replication.sql 26-Aug-2002 09:19  2000.80.679.0      28,672  Sqlagent.dll 26-Aug-2002 05:09  2000.80.679.0     311,872  Sqlagent.exe 28-Aug-2002 03:02  2000.80.679.0      49,152  Sqlagent.rll 26-Aug-2002 09:19  2000.80.679.0      53,824  Sqlcmdss.dll 28-Aug-2002 03:10  2000.80.679.0      12,288  Sqlcmdss.rll 24-Oct-2002 04:07  2000.80.695.0     176,696  Sqlmap70.dll 27-Nov-2002 06:13  2000.80.710.0   7,471,185  Sqlservr.exe 01-Nov-2002 05:26  2000.80.698.0      45,644  Sqlvdi.dll 17-Jan-2002 15:15  2000.80.568.0      29,244  Ssmslpcn.dll 22-Nov-2002 10:56  2000.80.706.0      82,492  Ssnetlib.dll 26-Nov-2002 11:44  2000.80.709.0      25,148  Ssnmpn70.dll 06-Apr-2002 12:38  2000.80.606.0      70,208  Xplog70.dll 06-Apr-2002 12:38  2000.80.606.0      53,828  Xpqueue.dll 06-Apr-2002 12:38  2000.80.606.0     156,228  Xprepl.dll 11-Jul-2002 11:30  2000.80.658.0     279,104  Xpstar.dll 16-Sep-2002 09:42  2000.80.686.0      98,872  Xpweb70.dll

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 &quot;Applies to&quot; section.This problem was first corrected in Microsoft SQL Server 2000 Service Pack 4.



How to install the hotfix if you are using Microsoft SQL Server CE or SQL Server 2005 Compact Edition
If you are using Microsoft SQL Server CE or SQL Server 2005 Compact Edition, follow these steps to install the hotfix:  Install Microsoft SQL Server 2000 Service Pack 3a (SP3a) on the computer that is running SQL Server.

To download SQL Server 2000 Service Pack 3a, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=90dcd52c-0488-4e46-afbf-acace5369fa3&DisplayLang=en

 Install the SQL Server CE server tools on the computer that is running IIS if SQL Server and IIS are running on different computers.

To download the SQL Server CE server tools, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/results.aspx?pocId=&freetext=SQL%20Server%20CE%20server%20tools&DisplayLang=en

 Stop the following services on the computer that is running SQL Server and IIS:  SQL Server SQL Server Agent</li> IIS</li></ul> </li> On the computer that is running SQL Server, back up the following files. By default, these files are available in the  :\Microsoft SQL Server\Program files\80\COM folder: <ul> Replrec.dll</li> Msgprox.dll</li> Replprov.dll</li></ul> </li> If IIS is running on a different computer than SQL Server, back up the files that are mentioned in step 4 on the computer that is running IIS.</li> On the computer that is running SQL Server, create a new folder and name it  :\Hotfix811188.</li> Extract the hotfix that is mentioned in the Resolution section to the Hotfix811188 folder.</li> Locate the following files in the  :\Hotfix811188 folder, and then copy the files to the  :\Microsoft SQL Server\Program files\80\COM folder: <ul> Replrec.dll</li> Msgprox.dll</li> Replprov.dll</li></ul> </li> If IIS is running on a different computer than SQL Server, copy the files that are mentioned in step 8 to the  :\Microsoft SQL Server\Program files\80\COM folder on the computer that is running IIS.</li> Start SQL Server, the SQL Server Agent, and the IIS services on the computer that is running the respective service.</li></ol>

<div class="references_section">