Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo' [from ASP.NET]
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
CJM  
View profile  
 More options May 12 2003, 9:54 am
Newsgroups: microsoft.public.sqlserver.programming, microsoft.public.sqlserver.server
From: "CJM" <cjmw...@yahoo.co.uk>
Date: Mon, 12 May 2003 14:54:40 +0100
Local: Mon, May 12 2003 9:54 am
Subject: EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo' [from ASP.NET]
Probably slightly off-topic for these NGs, and multi-posted [sorry - also
posted in .dotnet.aspnet]...

I'm getting a problem debugging a simple-ish page in ASP.NET:

Exception Details: System.Data.SqlClient.SqlException: EXECUTE permission
denied on object 'sp_sdidebug', database 'master', owner 'dbo'.

It occurs on a SQLDataAdapter.Fill instruction. I suspect it is an ASP.NET
debugging issue, but for all I know it could be an SQL Server issue.....

Is there something I need to configure in SQL Server (2000) to enable apps
like ASP.NET to debug?

Thanks

Chris


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
SriSamp  
View profile  
 More options May 12 2003, 10:08 am
Newsgroups: microsoft.public.sqlserver.programming, microsoft.public.sqlserver.server
From: "SriSamp" <ssamp...@sct.co.in>
Date: Mon, 12 May 2003 19:33:04 +0530
Local: Mon, May 12 2003 10:03 am
Subject: Re: EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo' [from ASP.NET]
What is the user that is configured to access SQL Server?? Check whether
this user can perform this operation.
--
HTH,
SriSamp
Please reply to the whole group only!

"CJM" <cjmw...@yahoo.co.uk> wrote in message

news:#6xkE3IGDHA.3604@tk2msftngp13.phx.gbl...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CJM  
View profile  
 More options May 12 2003, 10:44 am
Newsgroups: microsoft.public.sqlserver.programming, microsoft.public.sqlserver.server
From: "CJM" <cjmw...@yahoo.co.uk>
Date: Mon, 12 May 2003 15:43:57 +0100
Local: Mon, May 12 2003 10:43 am
Subject: Re: EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo' [from ASP.NET]
The user specified in the connection string is a dbo, and the page pulls the
data out correctly.

It is when I try and run the page in debug mod that it complains about the
SQL permissions...

"SriSamp" <ssamp...@sct.co.in> wrote in message

news:Om8xR$IGDHA.1976@TK2MSFTNGP12.phx.gbl...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacco Schalkwijk  
View profile  
 More options May 12 2003, 11:00 am
Newsgroups: microsoft.public.sqlserver.programming, microsoft.public.sqlserver.server
From: "Jacco Schalkwijk" <NOSPAMjac...@eurostop.co.uk>
Date: Mon, 12 May 2003 16:06:21 +0100
Local: Mon, May 12 2003 11:06 am
Subject: Re: EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo' [from ASP.NET]
There are no permissions granted on sp_sdidedebug by default, so you have to
be a member of the System Administrators server role to be able to execute
it, being dbo is not enough. You can grant permissions to other logins on
sp_sdidedebug though.

--
Jacco Schalkwijk MCDBA, MCSD, MCSE
Database Administrator
Eurostop Ltd.

"CJM" <cjmw...@yahoo.co.uk> wrote in message

news:OTydqSJGDHA.1984@TK2MSFTNGP12.phx.gbl...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cristino Floresca  
View profile  
 More options May 12 2003, 11:10 am
Newsgroups: microsoft.public.sqlserver.programming, microsoft.public.sqlserver.server
From: "Cristino Floresca" <cflore...@investorforce.com>
Date: Mon, 12 May 2003 11:06:19 -0400
Local: Mon, May 12 2003 11:06 am
Subject: Re: EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo' [from ASP.NET]
Looks like the user you are connecting to the database doesn't have
appropriate permission to execute the command. You can give the user you are
logging in with a db_owner permission and it should be okay.

"CJM" <cjmw...@yahoo.co.uk> wrote in message

news:%236xkE3IGDHA.3604@tk2msftngp13.phx.gbl...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CJM  
View profile  
 More options May 12 2003, 11:48 am
Newsgroups: microsoft.public.sqlserver.programming, microsoft.public.sqlserver.server
From: "CJM" <cjmw...@yahoo.co.uk>
Date: Mon, 12 May 2003 16:48:49 +0100
Local: Mon, May 12 2003 11:48 am
Subject: Re: EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo' [from ASP.NET]
Jacco,

I give the Public group execute permissions to Master\sp_sdidebug via
Enterprise Mgr and it works [wayhey!].

However, I suspect that this is a very liberal approach in terms of
security(!); is there a better way of going about this? I couldnt see a way
of just giving one or two users the appropriate rights...

Also, this seems a bit of a ball-ache! I'd have thought there was a cleaner
and simpler (ie automated) way of doing all this; have I missed something
along the way?

Thanks

"Jacco Schalkwijk" <NOSPAMjac...@eurostop.co.uk> wrote in message

news:OBlBdcJGDHA.392@TK2MSFTNGP12.phx.gbl...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacco Schalkwijk  
View profile  
 More options May 12 2003, 12:30 pm
Newsgroups: microsoft.public.sqlserver.programming, microsoft.public.sqlserver.server
From: "Jacco Schalkwijk" <NOSPAMjac...@eurostop.co.uk>
Date: Mon, 12 May 2003 17:36:34 +0100
Local: Mon, May 12 2003 12:36 pm
Subject: Re: EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo' [from ASP.NET]
"CJM" <cjmw...@yahoo.co.uk> wrote in message

news:#Wl#22JGDHA.1904@TK2MSFTNGP10.phx.gbl...

> Jacco,

> I give the Public group execute permissions to Master\sp_sdidebug via
> Enterprise Mgr and it works [wayhey!].

> However, I suspect that this is a very liberal approach in terms of
> security(!); is there a better way of going about this? I couldnt see a
way
> of just giving one or two users the appropriate rights...

Depends. If your server is a development server to which only a limited
number of developers have access in the first place it won't be much of a
problem. You should never give permissions on sp_sdidebug on a production
server.

To grant separate logins permissions on the stored procedure you have to add
them as users to the master database first. If logins access the master
database and they dare not associated with a user account they will use the
guest user instead, and guest is a member of the public database role in
master. That is how your current solution works, very liberal security
indeed :-).

Btw, make sure you don't confuse (Windows) users with (SQL Server) logins or
(database) users, or (Windows) groups with (sql) server roles or (database)
roles. They are all different and if you use the incorrect terminology
things can get very confusing.

> Also, this seems a bit of a ball-ache! I'd have thought there was a
cleaner
> and simpler (ie automated) way of doing all this; have I missed something
> along the way?

Nope, security is a bit of trouble, and sp_sdidebug is an extended procdure
that digs quite deep into SQL Server internals, so it is best protected
well.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CJM  
View profile  
 More options May 12 2003, 12:37 pm
Newsgroups: microsoft.public.sqlserver.programming, microsoft.public.sqlserver.server
From: "CJM" <cjmw...@yahoo.co.uk>
Date: Mon, 12 May 2003 17:36:57 +0100
Local: Mon, May 12 2003 12:36 pm
Subject: Re: EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo' [from ASP.NET]
Yes this is indeed for my development machine (ie its a standalone XPSP1
rather a win2k server), but I still dont like giving away more than I have
to, so I'll set up one SQL account to execute the SP rather than Public.

Thanks for your help.

Chris


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google