Microsoft KB Archive/261216

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

Article ID: 261216

Article Last Modified on 3/14/2006

-

APPLIES TO


 * Microsoft SQL Server 7.0 Service Pack 2
 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q261216



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 &quot;Symptoms&quot; 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.

Additional query words: replication, sp_Msmakectsview

Keywords: kbbug kbfix kbqfe KB261216

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.