Solved

error msg 229 debugging an sp.

Posted on 2002-05-16
2
592 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how the fundamental information of how to create a table.

839 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