Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Select premission was denied on Object Expand / Collapse
Author
Message
Posted Friday, October 15, 2010 12:40 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, December 12, 2014 2:10 PM
Points: 20, Visits: 174
OS: windows Server 2003 R2
RDBMS: SQL Server 2005 SP3 CU5
Ok Im very new to Report Server So please bare with me if this seems unworthy of your support.

Issue: An Error occurred during local reporting processing
An Error occurred during report processing
Query execution failed for data set 'AuditReports'
The SELECT permissions was denied on the Object 'Is a tabled valued function' database 'dbname' schema 'dbo'.

Can some one please point me in the right direction to get this corrected.

Post #1005495
Posted Friday, October 15, 2010 1:20 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Tuesday, November 25, 2014 9:29 AM
Points: 2,655, Visits: 6,016
Are you certain that whatever login you are using in your dataset has the appropriate permissions (Select) to read data from your TVF? Make certain it's not in the db_DenyDatareader role. Have you tried to connect using SSMS and executing the query from the same set of credentials that you are using in your report?

-Luke.


To help us help you read this

For better help with performance problems please read this
Post #1005525
Posted Friday, October 15, 2010 1:49 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Today @ 10:36 AM
Points: 31,362, Visits: 15,823
Luke has great advice. This isn't a Reporting Services issue, it's a permissions issue in the database that holds this data.






Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1005544
Posted Friday, October 15, 2010 1:59 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, December 12, 2014 2:10 PM
Points: 20, Visits: 174
Gentlemen,
Yes the users as premission. I set it up in this fashion.
DatabaseRole: EXFunctionRole
Iside that role the secrables associate to a table-valued functions
Grant Alter
Grant Control
Grant References
Grant Select
Grant View Defention

Then the role as been granted to a domain user

Regards
SirFalcon60
Post #1005561
Posted Friday, October 15, 2010 5:53 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Tuesday, November 25, 2014 9:29 AM
Points: 2,655, Visits: 6,016
Have you logged into the database with SSMS as that domain user? Were you able to log in successfully?

Have you tried to execute your dataset including using that TVF while logged in as that user? Were you able to do this successfully?

-Luke.


To help us help you read this

For better help with performance problems please read this
Post #1005647
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse