FIX: sp_scriptpublicationcustomprocs Generates Replication Stored Procedures (299903)
The information in this article applies to:
- Microsoft SQL Server 2000 Enterprise Edition
- Microsoft SQL Server 2000 Standard Edition
- Microsoft SQL Server 2000 Developer Edition
This article was previously published under Q299903 BUG #: 352963 (SHILOH_BUGS) SYMPTOMS When a transactional publication is set up in SQL Server
2000 and automatic synchronization is chosen for the subscriber, an insert,
update and delete stored procedure is created at the subscriber for each table
that is included in the publication. Scripts that contain these stored
procedures are created by the snapshot agent and applied at the subscriber
during the initial synchronization process by the distribution agent. If the
subscription is manually synchronized these stored procedures are not created
and must be created manually. Because the stored procedures do not exist on the
subscriber under such circumstances (manual synchronization), subsequent
inserts by the distribution job generate the following error message:
Could not find stored procedure 'sp_MSins_tablename'
Updates and deletes generate similar error messages related to the
update and delete stored procedures. RESOLUTIONTo resolve this problem, obtain the latest
service pack for SQL Server 2000. For additional information, click the
following article number to view the article in the Microsoft Knowledge Base: 290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
STATUSMicrosoft has confirmed that this is a
problem in SQL Server 2000.
This problem was first corrected in SQL Server 2000
Service Pack 1.REFERENCESFor information about the syntax and examples of using the sp_scriptpublicationcustomprocs stored procedure, see the "sp_scriptpublicationcustomprocs" topic
in SQL Server 2000 Updated Books Online.
For additional
information about how to manually synchronize replication subscriptions, click
the following article number to view the article in the Microsoft Knowledge
Base: 320499
HOW TO: Manually Synchronize Replication Subscriptions by Using Backup or Restore
Modification Type: | Major | Last Reviewed: | 6/25/2004 |
---|
Keywords: | kbBug kbfix kbSQLServ2000sp1fix KB299903 |
---|
|