Microsoft KB Archive/300037

= FIX: Error 229 &quot;EXECUTE permission denied on object xp_mapdown_bitmap&quot; on Merge Published Table =

Article ID: 300037

Article Last Modified on 11/5/2003

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q300037



BUG #: 350984 (SHILOH_BUGS)



SYMPTOMS
For a merge published table whose column sequence numbers are not consecutive, a user who could update the table before it was published cannot update the table after it is published. The following error message is received:

Server: Msg 229, Level 14, State 5, Procedure xp_mapdown_bitmap, Line 45

EXECUTE permission denied on object 'xp_mapdown_bitmap', database 'master', owner 'dbo'.



CAUSE
For merge published tables whose column sequence numbers are not consecutive, SQL Server calls xp_mapdown_bitmap inside its update trigger to determine missing columns that have been dropped from a table subsequent to publishing. Because execute permission on xp_mapdown_bitmap is not granted to public, the error occurs.



RESOLUTION
To 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

IMPORTANT: The service pack must be applied to each instance of SQL Server.



WORKAROUND
Using Query Analyzer, manually grant execute permission to public as follows: USE master GO GRANT EXECUTE ON xp_mapdown_bitmap TO public GO



STATUS
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.

Additional query words: 229 xp_mapdown_bitmap execute permission

Keywords: kbbug kbfix kbsqlserv2000sp1fix KB300037

-

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

© Microsoft Corporation. All rights reserved.