Microsoft KB Archive/275992

From BetaArchive Wiki
Knowledge Base


FIX: Running Sp_vupgrade_replication May Fail with Timeout Expired Error Message During Service Pack 2 Upgrade

Article ID: 275992

Article Last Modified on 3/14/2006



APPLIES TO

  • Microsoft SQL Server 7.0 Standard Edition



This article was previously published under Q275992

BUG #: 58099 (SQLBUG_70)

SYMPTOMS

The script sp_vupgrade_replication is installed as part of the service pack 2 upgrade of SQL Server 7.0. This procedure includes modifications to the replication functionality in SQL Server 7.0 or later. It is primarily used to create or upgrade replication system objects in system and user databases.

If there is a large number of publishing/subscribing databases or publications on the server, running sp_vupgrade_replication can take a long time to complete. Sometimes it may fail with a "Timeout Expired" error message that can be found in the sp_vupgrade_replication.out file that is located in the \MSSQL7\Install folder. In this case, the setup portion of upgrade succeeds, but replication components are fully upgraded.

WORKAROUND

Run sp_vupgrade_replication separately in the Master database after the problem occurs to complete the replication script upgrade. After the sp_vupgrade_replication stored procedure is run, a backup of the registry is taken by running the regrebld.exe from the MSSQL7/Binn directory. For example:

C:\MSSQL7\Binn>regrebld -Backup C:\MSSQL7\Binn

You may also want to run this registry backup, similar to what the service pack does, after manually running the sp_vupgrade_replication stored procedure to complete the service pack install.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0


For more information, contact your primary support provider.


Additional query words: crash freeze stop responding regrebld exe

Keywords: kbbug kbfix KB275992