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

Article translations Article translations
Article ID: 275992 - View products that this article applies to.
This article was previously published under Q275992
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 58099 (SQLBUG_70)
Expand all | Collapse all


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.


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.


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.


Article ID: 275992 - Last Review: October 21, 2013 - Revision: 2.1
  • Microsoft SQL Server 7.0 Standard Edition
kbnosurvey kbarchive kbbug kbfix KB275992

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from