FIX: Replication Filter Stored Procedures Not Upgraded to 6.5

ID: Q164288


The information in this article applies to:

BUG #: 16372 (Windows NT: 6.5)

SYMPTOMS

Replication filter stored procedures created in Microsoft SQL Server 6.0 are not upgraded during the upgrade process to Microsoft SQL Server 6.5.

Because these procedures are not upgraded, any articles that rely on these procedures may not have their replication jobs processed. No error is provided by replication when running the filter procedure under these conditions. The upgrade process (either by an actual upgrade using Setup.exe or LOAD DATABASE) should provide a message in the SQL Server errorlog or Upgrad1b.out file (found in the Mssql\Install directory) indicating a problem upgrading a replication filter procedure.

NOTE: Any procedure not upgraded will be listed by name. The error does not indicate it is a replication filter procedure.

NOTE: In Microsoft SQL Server 6.0 and 6.5, a replication filter stored procedure is designated in sysobjects with a type = 'RF' value.


WORKAROUND

To properly upgrade any replication filter procedure, you must drop and re- create the replication filter procedure. There are basically two techniques to properly re-create a replication filter procedure:


STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.


MORE INFORMATION

Because SQL Server 6.5 Service Pack 3 is applied after upgrading from SQL Server 6.0 to SQL Server 6.5, replication filter procedures are not upgraded automatically by just applying the service pack. However, after upgrading to SQL Server 6.5 and applying Service Pack 3, you can run the stored procedure master.dbo.sp_db_upgrade '<db>' to upgrade all replication filter procedures. Sp_db_upgrade is documented in the SQL Server Setup 6.0 book in Chapter 7, "Installation Troubleshooting."

If you load a database from SQL Server 6.0 with replication filter procedures into a server running SQL Server 6.5 Service Pack 3, the procedures will be upgraded correctly without requiring any further action.

Additional query words: sp_replcmds publication sysarticles MSjob_commands MSjobs


Keywords          : kbusage SSrvRep SSrvStProc kbbug6.50 
Version           : 6.5
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: April 8, 1999