Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / March 2008

Tip: Looking for answers? Try searching our database.

whats is wrong here????

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
alecarnero - 15 Jan 2008 20:28 GMT
I have a sql 2005 database i can look the tables but not execute pro, i have
regsiter the users iwan and iusr in the database

Microsoft OLE DB Provider for ODBC Drivers erro '80040e09'

[Microsoft][ODBC SQL Server Driver][SQL Server]EXECUTE permission denied on
object 'res_vent', database 'centerplan', schema 'dbo'.

/resplanejados.asp, line 21
Tom Moreau - 15 Jan 2008 20:31 GMT
Just because a user has been added to a DB does not mean that they have
permissions to do anything.  Either grant them EXEC permission on that proc
or add them to a role that has EXEC permission in the proc.

Signature

  Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON   Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau

I have a sql 2005 database i can look the tables but not execute pro, i have
regsiter the users iwan and iusr in the database

Microsoft OLE DB Provider for ODBC Drivers erro '80040e09'

[Microsoft][ODBC SQL Server Driver][SQL Server]EXECUTE permission denied on
object 'res_vent', database 'centerplan', schema 'dbo'.

/resplanejados.asp, line 21
Dan Guzman - 29 Mar 2008 13:52 GMT
To add to Tom's response, you can grant a role (or user) execute permissions
on all objects on a schema with a single GRANT.  For example:

GRANT EXECUTE ON SCHEMA::dbo TO WebRole;

Note that it is generally best to grant permissions at the schema level only
when you don't need to be more granular.  If a principal needs access to
some objects but not others, individual object GRANTs are the best approach,
IMHO.  This is in contrast to a GRANT at the schema level and DENYs on
individual procs that take precedence over granted permissions.

Signature

Hope this helps.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

>I have a sql 2005 database i can look the tables but not execute pro, i
>have regsiter the users iwan and iusr in the database
[quoted text clipped - 5 lines]
>
> /resplanejados.asp, line 21
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.