FIX: Snapshot Agent for a Merge Publication Might Fail with Error Message 4408 or 50007

This article was previously published under Q261216
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 57846 (SQLBUG_70)
BUG #: 229022 (SHILOH)
SYMPTOMS
If a Merge publication has several articles, with row filters or join filters defined, the Snapshot Agent might fail with either of the following error messages:
Msg 4408
The query and the views in it exceed the limit of 256 tables.
-or-
Msg 50007
xp_execresultset: unable to execute result set.
This problem does not affect merge publications that do not have any articles with filters defined.
CAUSE
During the initial snapshot process, the Snapshot Agent creates views on the MSmerge_contents system table and other merge system tables, which are then used to transfer data to the subscriber. If the Merge publication has a large number of articles, with row or join filters defined, the creation of the view on the MSmerge_contents table might fail with the error messages described in the "Symptoms" section.
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.

Microsoft has confirmed this to be a problem in SQL Server 2000.
MORE INFORMATION
A Readme.txt file is included with the hotfix, which provides installation instructions.
replication, sp_Msmakectsview
Properties

Article ID: 261216 - Last Review: 02/28/2014 00:32:30 - Revision: 5.2

  • Microsoft SQL Server 7.0 Service Pack 2
  • Microsoft SQL Server 2000 Standard Edition
  • kbnosurvey kbarchive kbbug kbfix kbqfe KB261216
Feedback