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 / DB Engine / SQL Server / March 2008

Tip: Looking for answers? Try searching our database.

EXECUTE permission denied

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nick - 14 Mar 2008 16:02 GMT
I'm running an ASP based report. It's always worked, but for some
reason now I get the following:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E09)
[Microsoft][ODBC SQL Server Driver][SQL Server]EXECUTE permission
denied on object 'IFMSpVisitbyStatus', database 'Paradigm', owner
'dbo'.

Any ideas????
Russell Fields - 14 Mar 2008 16:35 GMT
nick,

The error is pretty specific.  Apparently the login used by your ASP report
still has access to the database, but not to that stored procedure.  It
could be that someone changed the rights being granted the report user. You
can check what rights it still has by:

EXEC sp_helprotect @username = 'YourReportUserAccount'

However, a more likely suspect is that a new version of the stored procedure
was created , but the rights were not regranted.  This is a problem when a
stored procedure is dropped and recreated.  You can check by:

select name, crdate
from sysobjects
where name = 'IFMSpVisitbyStatus'

If that is the case, some one will need to:

GRANT EXECUTE ON IFMSpVisitbyStatus TO YourReportUserAccount

Also, if that is the problem then the process for deploying updated SQL
Server objects apparently needs to be tightened up a bit to ensure that
rights are preserved or regranted.

RLF

> I'm running an ASP based report. It's always worked, but for some
> reason now I get the following:
[quoted text clipped - 4 lines]
>
> Any ideas????
nick - 18 Mar 2008 16:11 GMT
On Mar 14, 10:35 am, "Russell Fields" <russellfie...@nomail.com>
wrote:
> nick,
>
[quoted text clipped - 33 lines]
>
> - Show quoted text -

Thanks for the information! Sad to say, but I know next to nothing
about SQL. I just wanted to help the user run an already created
report.
 
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.