FIX: Error 229 "EXECUTE permission denied on object xp_mapdown_bitmap" on Merge Published Table (300037)



The information in this article applies to:

  • Microsoft SQL Server 2000 (all editions)

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.

Modification Type:MajorLast Reviewed:11/5/2003
Keywords:kbBug kbfix kbSQLServ2000sp1fix KB300037