473,385 Members | 1,333 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,385 software developers and data experts.

EXECUTE permission denied on object 'sp_sdidebug', database 'maste

Ken
Hi guys,

this is a curios thing, everything was working fine then I had to restore my
development machine( VS.NET, SQL server etc) now I'm receiveing this error
from my asp aplication only in RELEASE mode, but everything works good in
DEBUG mode, this is happening when I run my app against my local SQLDB and
against a hosting DB.

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

Any sugg we'll b apre...

thks

Ken
Nov 18 '05 #1
7 2696
You need to grant permissions to that stored procedure for the calling user.
In the SQL Analyzer type:
GRANT EXECUTE ON sp_sdidebug TO <user here>

HTH

"Ken" wrote:
Hi guys,

this is a curios thing, everything was working fine then I had to restore my
development machine( VS.NET, SQL server etc) now I'm receiveing this error
from my asp aplication only in RELEASE mode, but everything works good in
DEBUG mode, this is happening when I run my app against my local SQLDB and
against a hosting DB.

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

Any sugg we'll b apre...

thks

Ken

Nov 18 '05 #2
Hi Ken,

On my local machine I've never had to grant execute permissions for a SP.
Did you have to do that before your restore? If not the permissions might
be a little whacked. Did you install VS.Net before SQL Server? If so maybe
the aspnet account was setup without the permissions for SQL. Or after you
setup your machine the first time, way back, did you ever do anything to add
the aspnet account or your Windows login account to the SQL Server
permissions list? I'm just throwing those out there to maybe point you in
the right direction. I've never encountered this locally and when I've
encountered it in production I've always done what the guy mentioned in the
reply before mine. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight

"Ken" <Ke*@discussions.microsoft.com> wrote in message
news:E0**********************************@microsof t.com...
Hi guys,

this is a curios thing, everything was working fine then I had to restore my development machine( VS.NET, SQL server etc) now I'm receiveing this error from my asp aplication only in RELEASE mode, but everything works good in
DEBUG mode, this is happening when I run my app against my local SQLDB and
against a hosting DB.

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

Any sugg we'll b apre...

thks

Ken

Nov 18 '05 #3
Ken
Hi

I'm geting some clues,
On my local machine I've never had to grant execute permissions for a SP.
Did you have to do that before your restore? No
Did you install VS.Net before SQL Server?do anything to add Yes, is it not the order?
Or after you
setup your machine the first time, way back, did you ever do anything to add
the aspnet account or your Windows login account to the SQL Server
permissions list?


Umm I remember I had another problem running the aspnet app (not this one),
and the only aditional thing I did was to run the Aspnet_regiis.exe utility,
should I have to run it again?

also, I run the 'GRANT EXECUTE ON sp_sdidebug TO dbo' on my local Master
Database, and nothing happen...the error is stil here

by the way I'dont get why the master DB is involved...

The production environmet is a hosting company, so I have only a user
account on my Application DB not on Master DB, so I cant run the script...
Ken
Nov 18 '05 #4
Ken
Hi,

It does not work, the error is stil here:

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

Why is the error on Master DB?

Ken

"ENIZIN" wrote:
You need to grant permissions to that stored procedure for the calling user.
In the SQL Analyzer type:
GRANT EXECUTE ON sp_sdidebug TO <user here>

HTH

"Ken" wrote:
Hi guys,

this is a curios thing, everything was working fine then I had to restore my
development machine( VS.NET, SQL server etc) now I'm receiveing this error
from my asp aplication only in RELEASE mode, but everything works good in
DEBUG mode, this is happening when I run my app against my local SQLDB and
against a hosting DB.

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

Any sugg we'll b apre...

thks

Ken

Nov 18 '05 #5
Hi,

It is just your local machine where you are having problems right? Or are
you having the same problem with your production site and database? I think
you need to install SQL Server before installing VS.Net and the .Net
framework. That is the way I've alway done it. You might want to try to
re-install VS.Net and the framework and see if that clears things up now
that SQL is installed. There is probably a way to setup the permissions for
the aspnet account manually but I don't know how to do it. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Ken" <Ke*@discussions.microsoft.com> wrote in message
news:20**********************************@microsof t.com...
Hi

I'm geting some clues,
On my local machine I've never had to grant execute permissions for a SP. Did you have to do that before your restore? No
Did you install VS.Net before SQL Server?do anything to add

Yes, is it not the order?
>Or after you
setup your machine the first time, way back, did you ever do anything to add the aspnet account or your Windows login account to the SQL Server
permissions list?


Umm I remember I had another problem running the aspnet app (not this

one), and the only aditional thing I did was to run the Aspnet_regiis.exe utility, should I have to run it again?

also, I run the 'GRANT EXECUTE ON sp_sdidebug TO dbo' on my local Master
Database, and nothing happen...the error is stil here

by the way I'dont get why the master DB is involved...

The production environmet is a hosting company, so I have only a user
account on my Application DB not on Master DB, so I cant run the script...
Ken

Nov 18 '05 #6

Hi Ken,

This problem comes from the Project Properties setting "Enable SQL
Debugging" being set to true. Disable that setting, and it should work
fine.

++Tyler

Ken wrote:
*Hi guys,

this is a curios thing, everything was working fine then I had to
restore my
development machine( VS.NET, SQL server etc) now I'm receiveing this
error
from my asp aplication only in RELEASE mode, but everything works
good in
DEBUG mode, this is happening when I run my app against my local
SQLDB and
against a hosting DB.

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

Any sugg we'll b apre...

thks

Ken *


--
TGHW
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Dec 3 '05 #7

When you install Windows XP Service Pack 2, you cannot debug SQL from
VS.

Read the following article in KB:
http://support.microsoft.com/default...b;en-us;839280

You can correct this with SQL Server Service Pack 4 or a hot fix.

TGHW wrote:
*Hi Ken,

This problem comes from the Project Properties setting "Enable SQL
Debugging" being set to true. Disable that setting, and it should
work fine.

++Tyler *


--
Ferdinand
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Mar 22 '06 #8

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

Similar topics

3
by: Zeke Hoskin | last post by:
Suddenly a stored procedure, very much like several others, is giving EXECUTE permission denied on object 'Add_Adjustment', database 'InStab', owner 'zhoskin'. server:Msg 229, Level 14, State 5,...
5
by: Ivan Simurina | last post by:
I m getting the following error once i initiate a page that connects with database. SqlException: EXECUTE permission denied on object 'sp_items_for_sale', database 'bids', owner 'dbo'.] what...
2
by: Taishi | last post by:
New user of SQL Everything is on the same machine My error is close to the bottom After reading it today, I can see there is a problem with 2 dbases 'PUBS' and 'Master' There are also some...
8
by: Jiggaz | last post by:
Hi, In my ASPX Page, i have a form for signup. And whene user click on the button, the event Button1_Click must use a stored procedure. But instead of use stored proc, i get this exception :...
1
by: Mr.KisS | last post by:
Hi, In my aspx page i use a stocked procedure and in this procedure, there is a SELECT query. And whene the aspx page calls the procedure i get this exception : ...
7
by: Mike L. | last post by:
Hi, I got this 'EXECUTE permission denied on object <mySproc>' error message everytime I try executing my SQL server Sproc. What's this and how to fix this err? many thnaks in advance, mike
1
by: david | last post by:
I am using MS ASP.NET course matrial in Model 16. I have the above problem. I have setup user machin\ASPNET as Reeder and Writer for doctors database More informatin are in following...
1
by: Jeff | last post by:
asp.net 3.5 I've created a database in Sql Server 2005 for my asp.net project. I used aspnet_regsql to add membership tables and stored procedures. Then I added a login/user to this database....
4
by: xzzy | last post by:
I have a v1.1 web app that works on my local computer. However, running it at the host computer, the following breaks: when a viewer selects a different country, the State dropdown should...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.