The Request Failed With Http Status 401 Access Denied-Collection of common programming errors
Hi,
HTTP 401 error means you are unauthenticated to view the report. Please check the Reporting Services security setting. Make sure that your account has been added as at least brower in Reporting Services.
Reporting Services uses role-based security to grant user access to a report server. On a new report server installation, only users who are members of the local Administrators group have permissions to report server content and operations. To make the report server available to other users, you must create role assignments that map user or group accounts to a predefined role that specifies a collection of tasks.
For a report server that is configured for native mode, use Report Manager to assign users to a role. There are two types of roles:
- Item-level roles are used to view, add, and manage report server content, subscriptions, report processing, and report history. Item-level role assignments are defined on the root node (the Home folder) or on specific folders or items farther down the hierarchy.
- System-level roles grant access to site-wide operations that are not bound to any specific item. Examples include using Report Builder and using shared schedules.
To add a user or group to a system role
-
Start Report Manager.
-
Click Site Settings.
-
Click Security.
-
Click New Role Assignment.
-
In Group or user, enter a Windows domain user or group account in this format: \. If you are using forms authentication or custom security, specify the user or group account in the format that is correct for your deployment.
-
Select a system role, and then click Apply.
Roles are cumulative, so if you select both System Administrator and System User, a user or group will be able to perform the tasks in both roles.
-
Repeat to create assignments for additional users or groups.
-
Start Report Manager or click Home to go to the Report Manager start page.
-
Click the Properties tab.
-
Click the Security tab.
-
Click New Role Assignment.
-
In Group or user, enter a Windows domain user or group account in this format: \. If you are using forms authentication or custom security, specify the user or group account in the format that is correct for your deployment.
-
Select one or more role definitions that describe how the user or group should access the item, and then click OK.
-
Repeat to create assignments for additional users or groups.
Hopefully this helps.
Tony