all groups > visual studio .net debugging > january 2004 >
You're in the

visual studio .net debugging

group:

EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo'


EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo' Jurgen
1/25/2004 8:11:05 PM
visual studio .net debugging: I had this message
EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo
while debugging my application

I try to set the properties "Enable SQL Debugging" to false in project properties
and it works fine

But is there any solution to enable the sql debugging and yet not having the Execut
permision problem?

Re: EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo' Habib Heydarian [MSFT]
1/25/2004 10:23:14 PM
In order to debug, you need EXECUTE permission on sp_sdidebug. Also, if you
have SQL Server 2000 SP3 installed, you need to execute sp_sdidebug with the
"legacy_on" parameter (which must be done everytime you restart SQL Server).

HabibH.

[quoted text, click to view]

Re: EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo' Jurgen
1/26/2004 1:26:06 AM
After giving the EXECUTE permission to guest account in SQL Server, it solve the problem.

Thank you.

Re: EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo' Habib Heydarian [MSFT]
1/26/2004 1:38:53 AM
I would not recommend granting EXECUTE permission on sp_sdidebug to Guest,
since debugging is a privileged activity. It would be more prudent to grant
permission to individual accounts who need to debug.

HabibH.

[quoted text, click to view]

AddThis Social Bookmark Button