Solved

error msg 229 debugging an sp.

Posted on 2002-05-16
2
591 Views
Last Modified: 2010-05-18

Greetings.

I am using query analyzer to try to debug some stored procedures in a schema. The database tables and procedures were created logged in as sa, and are owned by dbo.
I am running ms sql server 2000
When I try to debug the procedure in query analyzer logged in as a user who is the owner with data_read and data_write rights, I get the below error message (229).
If I am logged in as sa, I do not and can debug the script.

Is there some "right" I can give the user to debug stored procedures? Is this a general problem with sp_sdidebug, or a problem with the way I am accessing my database?

Thanks for any assistance,
Jeff

Server: Msg 229, Level 14, State 5, Procedure sp_sdidebug, Line 1
[Microsoft][ODBC SQL Server Driver][SQL Server]EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo'.
0
Comment
Question by:kishj
  • 2
2 Comments
 
LVL 5

Expert Comment

by:spcmnspff
ID: 7014364
0
 
LVL 5

Accepted Solution

by:
spcmnspff earned 50 total points
ID: 7014389
After looking a little further.  No matter which debugging client your using, the only user who can execute sp_sdidebug is SA since it resides in the master database.  If you want to allow other users to debug, you'll have to add them to the master db and grant execute on sp_sdidebug.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question