Solved

error msg 229 debugging an sp.

Posted on 2002-05-16
2
586 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
Comment Utility
0
 
LVL 5

Accepted Solution

by:
spcmnspff earned 50 total points
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Performance is the key factor for any successful data integration project, knowing the type of transformation that you’re using is the first step on optimizing the SSIS flow performance, by utilizing the correct transformation or the design alternat…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now