Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

error msg 229 debugging an sp.

Posted on 2002-05-16
2
Medium Priority
?
599 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 5

Expert Comment

by:spcmnspff
ID: 7014364
0
 
LVL 5

Accepted Solution

by:
spcmnspff earned 150 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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.
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 utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

715 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