Select premission was denied on Object

  • 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.

    :w00t:

  • 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[/url]For better help with performance problems please read this[/url]

  • Luke has great advice. This isn't a Reporting Services issue, it's a permissions issue in the database that holds this data.

  • 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

  • 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[/url]For better help with performance problems please read this[/url]

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply