473,569 Members | 3,063 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2709
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*@discussion s.microsoft.com > wrote in message
news:E0******** *************** ***********@mic rosoft.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.e xe 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*@discussion s.microsoft.com > wrote in message
news:20******** *************** ***********@mic rosoft.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.e xe 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
13044
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, Procedure Add_Adjustment, Line 18. I'm zhoskin. I am the dbo and created the procedure, and when I look at its properties, I have EXEC permission....
5
3236
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 should i do to correct this? thanx
2
3670
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 comments from the group: ---microsoft.public.sqlserver.odbc-- subject: Permission Denied -- Thanks for help guys I was able to find a trial version of...
8
9546
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 : _____ System.Data.SqlClient.SqlException: EXECUTE permission denied on object 'CreateAccount', database 'wizou', schema 'dbo'. at
1
8601
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 : System.Data.SqlClient.SqlException: SELECT permission denied on object 'users', database 'wizou', schema 'dbo'. So, i must give the authorisation to ASPNET to use SELECT
7
1735
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
1335
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 System.Data.SqlClient.SqlException: EXECUTE permission denied on object 'getUniqueCities', database 'doctors', owner 'dbo' Source Error:
1
3672
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. Default schema for this user is dbo. When I try to execute my asp.net webpage I get this error: EXECUTE permission denied on object...
4
2660
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 repopulate with the new country's state/proviences. Running on the host, the dropdown does not repopulate and says 'Permission Denied', I take this to...
0
7703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7619
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8138
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7681
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6290
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5228
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.