February 10, 2012  
   Login  
Forum  
 
ForumForumEnesys RS Data ...Enesys RS Data ...Support - RS Da...Support - RS Da...Query Fails with 401 Access DeniedQuery Fails with 401 Access Denied
Previous Previous
 
Next Next
New Post
 7/20/2009 10:52 PM
 
 Modified By michaelwhill  on 7/20/2009 10:47:21 PM

I am using the multiList query to retrieve a distinct set of status values across four lists each stored on different sites.  I have some users who have access to all of the sites and they are able to run the query with no issues.  When I try to run the query with a restricted user account (user can only access one of the four sites) I receive a 401 access denied error.  I verified that the 'SPLogin' section of the rsreportserver.config file exists with the Login and Password properties. We are currently using version 3.1.427 and I know this worked in the past believe it was v 3.0.  Below is the query I am executing. 

Query:

<?xml version="1.0" encoding="utf-8" ?>
<root xmlns="http://enesyssoftware.com/schemas">
    <multiList title="Protocol" relativeSiteUrl="/sites/PROMIS" type="RollUpList" tableName="Protocol">
    <fields> Protocol_x0020_Status1</fields>
    <query></query>
  </multiList>
    <sqlQuery tableName="MergedProtocols">
        SELECT DISTINCT Protocol_x0020_Status1 from Protocol
     </sqlQuery>
    <resultSet>MergedProtocols</resultSet>
</root>

 

Report Server Error Message:

w3wp!library!1!07/20/2009-15:22:21:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user 'PROMIS\IRBAdmin' are insufficient for performing this operation., ;
 Info: Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user 'PROMIS\IRBAdmin' are insufficient for performing this operation.

 Update:

We resolved the issue by publishing the datasource and changing the current queries from list queries referencing explicit sites to a multiList query. 

New Post
 7/22/2009 10:25 AM
 

Hi Michael,

Sorry for the late answer. If you still want to use the rollUpLists statement (multiList type="RollUpList"), we will need to ensure some things.

Depending on the permissions, the user specified in the SPLogin section may not have enough rights to retrieve all the data. One of the Site Collection admin would be ok. A better account would be the account used for the SharePoint Application Pool, he would have rights on any site collection, therefore if would be easier to manage rollUpLists statements with this account.

You can easily change the user specified in the SPLogin section by using the new tool "ERSDE Server Configuration" available as part of the installation, starting from version 3.1. It will enable you to configure the section without manually modifying the rsreportserver.config file.

By the way, regarding your previous topic, the bug about Calculated fields of DateTime type which can be null, has been corrected and the correction will be available in the version 3.1.250, available later this week.

Regards,
Marien Monnier
Enesys

Previous Previous
 
Next Next
ForumForumEnesys RS Data ...Enesys RS Data ...Support - RS Da...Support - RS Da...Query Fails with 401 Access DeniedQuery Fails with 401 Access Denied

 
You need to login for posting to the forums.
If you don't have a login, click here to register.
 
Copyright 2010 Enesys - All rights reserved Terms Of UsePrivacy Statement