473,395 Members | 1,949 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

T-SQL Debugger Error

Hi,

When I debug our sp by using T-SQL Debugger, I got following error.

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'.
and when I grant the permission of sp_sdidebug, I got following error.

Server: Msg 4610, Level 16, State 1, Line 1
You can only grant or revoke permissions on objects in the current
database.
I am using following statement to grant the permission.

GRANT EXECUTE
ON sp_sdidebug
TO myuser

Here, I want to clear, myuser is I, which one i log QA.
and myuser has public and dbowner permission

--
Rahul

Apr 25 '07 #1
2 4746
"Rahul" <ve**********@gmail.comwrote in message
news:11*********************@r30g2000prh.googlegro ups.com...
Hi,

When I debug our sp by using T-SQL Debugger, I got following error.

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'.
and when I grant the permission of sp_sdidebug, I got following error.

Server: Msg 4610, Level 16, State 1, Line 1
You can only grant or revoke permissions on objects in the current
database.
I am using following statement to grant the permission.

GRANT EXECUTE
ON sp_sdidebug
TO myuser

Here, I want to clear, myuser is I, which one i log QA.
and myuser has public and dbowner permission

--
Rahul

Apr 25 '07 #2
"Rahul" <ve**********@gmail.comwrote in message
news:11*********************@r30g2000prh.googlegro ups.com...
Hi,

When I debug our sp by using T-SQL Debugger, I got following error.

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'.
and when I grant the permission of sp_sdidebug, I got following error.

Server: Msg 4610, Level 16, State 1, Line 1
You can only grant or revoke permissions on objects in the current
database.
Correct. sp_sdidebug is in the master database and you're most likely in a
different database.

Generally user written stored procs should NOT have their names start with
sp_ because SQL Server handles those a bit differently (including basically
making them "publically" available from the master db.)

>
I am using following statement to grant the permission.

GRANT EXECUTE
ON sp_sdidebug
TO myuser

Here, I want to clear, myuser is I, which one i log QA.
and myuser has public and dbowner permission

--
Rahul


--
Greg Moore
SQL Server DBA Consulting Remote and Onsite available!
Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html
Apr 25 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ziv | last post by:
I am encountering a very strange error Openning a Visual C++/Win32 Console project with mfc support, writing a simple Sleep(5000) function in the main and running the app in Debug mode (default...
3
by: Ney André de Mello Zunino | last post by:
Hello. I would appreciate if somebody could assist me with an error message I am getting from the Microsoft WinDbg 6.3 debugging tool. I am not familiar with it, since I have just downloaded it....
1
by: ziv | last post by:
I am encountering a very strange error Openning a Visual C++/Win32 Console project with mfc support, writing a simple Sleep(5000) function in the main and running the app in Debug mode (default...
0
by: | last post by:
I hope this helps someone out there as it wasted hours of my time. I searched through the newsgroups for this visual studio error and was somehwat mislead as to the problem. I indeed was a member...
0
by: Kevin Jackson | last post by:
As of this morning, a few of us are getting the following error when we startup VS 2003 and opening a web app project JIT Debugging failed with the following error: Access Denied JIT...
3
by: Lou | last post by:
I'm hosed, i can't seem to run my project anymore. I get the following message When I try to run it in the Debugger.. Error while trying to run project. Unable to start debugging Unable to start...
2
by: Ilkka | last post by:
I have created an C++ application with Windows Forms, ADO and SQL server 2005. Now I need to change something and started debugging the code. Then suddenly I receive an error. "An unhandled...
7
by: mdw9604 | last post by:
Hi all, I am newbie at javascript, but I have a script that animates gif images and worked for a number of years, but now with IE7 it does not work. I am getting an error on this line of...
0
by: Rahul | last post by:
Hi, When I debug our sp by using T-SQL Debugger, I got following error. Server: Msg 229, Level 14, State 5, Procedure sp_sdidebug, Line 1 EXECUTE permission denied on object 'sp_sdidebug',...
1
by: Boyyini | last post by:
Its me again : ) I added a fight with a zombie to my text-based RPG game using 'while' as well as a Retry option. (I was experimenting with the 'while' function) And now, when I save and try to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.