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 / July 2008

Tip: Looking for answers? Try searching our database.

SQL 2005 Express Reporting Services Permissions?!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
UselessUser - 09 Jul 2008 18:55 GMT
Hi,

I am running SQL 2005 Express locally with the intent to learn the basics of
SQL Server before our business makes a purchase (Looking to move away from
Access)...

I am running Windows XP SP2 as a non-admin. As the local administrator I
have installed SQL 2005 Express Advanced Edition with the reporting services
component. I then installed Visual Basic 2005 Express thinking this had the
Report Builder components in it, then realised I needed the SQL Express
Toolkit, which I then downloaded and installed, and it updated the Visual
Basic 2005 Express installation.

I then installed the SQL 2005 version of the AdventureWorks OLTP database.
This has appeared in the SQL Management Studio and all looks good. I then ran
the Business Intelligence Development Studio (Using runas) and created a new
project.

I had to enable named pipes (What is a named pipe btw!), whilst leaving the
SQL Browser service off (As I knew where the database was), and made a
connection which was succesful. I then used the query builder to create a
simple select all statement from the employee table of the database. I then
published the report succesfully to the report server component.

If I launch IE as the local administrator the report loads fine, however if
I run it as myself (Integrated Authentication has been left on) then it says
I do not have permissions:

The permissions granted to user are insufficient for performing this
operation. (rsAccessDenied)

I really know nothing about setting permissions etc so I am not sure how to
fix this? Can someone advise? I tried looking at MSDN which said to go into
Management Studio and find the browse role and assign it to the relevant
users... but I cannot find this?
Norman Yuan - 09 Jul 2008 19:13 GMT
If you do not want to join your account to local admins, then you need
configure Reporting Services' access permission.

Log on as local admin. In IE, browse to Report Manager
(http://localhost/reports, which you said is OK). Click "Properties" tab,
you see "Security" tab om the left. Select it, if there is other tabs. Click
"New Role Assignment". Add your user account to the "Group or user name"
text box, such as "machineName\UserName", then check the role you want to
be: Browser, Content Manager"..., Click OK. Now you will have the
permissions assigned to checked roles. In your case, you may want to be
Content Manager.

> Hi,
>
[quoted text clipped - 42 lines]
> Management Studio and find the browse role and assign it to the relevant
> users... but I cannot find this?
UselessUser - 09 Jul 2008 19:50 GMT
Hi,

Thanks for what has been the fastest reply ever!!!

I have found the report I created and assigned the permissions. Is the
reporting services controlled entirely through the website then (No need to
do anything in Management Studio)??

Also now when I run the report which I can see, I get this error?

An error has occurred during report processing.
Cannot create a connection to data source 'AdventureWorks'.
Cannot open database "AdventureWorks" requested by the login. The login
failed. Login failed for user 'username'

I assume I need some kind of permission on the actual database?

> If you do not want to join your account to local admins, then you need
> configure Reporting Services' access permission.
[quoted text clipped - 54 lines]
> > Management Studio and find the browse role and assign it to the relevant
> > users... but I cannot find this?
Norman Yuan - 09 Jul 2008 21:11 GMT
You can do the reporting services access permissions through SSMS. It is
basically the same way of doing it, just in different user interface. Since
I started using RS since SQL Server 2000, I am used to do it with Report
Manager, the web interface.

For the error you get, you need to configure the report's data source.
Again, use Report Manager, go to the report folder where you have your data
source created. Click the data source and with "general" tab on the left
selected. Make sure the ConnectionString  is correct and you have to
correctcly pick one of the 4 radio buttons on "Connect using:", based on
your Reporting Services' configuration, which is an ASP.NET web application,
running under certain user account. You have to know what is that user
account.

> Hi,
>
[quoted text clipped - 84 lines]
>> > relevant
>> > users... but I cannot find this?
 
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.