all groups > sql server reporting services > june 2006 >
You're in the

sql server reporting services

group:

How does RS connect to AS?


How does RS connect to AS? jhcorey NO[at]SPAM yahoo.com
6/16/2006 6:56:35 AM
sql server reporting services:
I'm getting myself very confused trying to connect to AS2005 in my own
application, and I'm trying to understand how RS does it.

When I create a datasource, it uses Windows Authentication to connect,
but I'm not understanding how it can use my id from the RS web server.
Is it using Kerberos security?
(I'm thinking that is needed to to from my machine to the RS server and
then to the AS server).

I have a web app and I'm trying to connect using ADOMD, but the only
way it's working for me right now is if I use impersonation, and I
don't want to do that. Obviously RS cannot be doing this.

TIA,
Jim
Re: How does RS connect to AS? Tim Dot NoSpam
6/19/2006 12:00:00 AM
RS uses impersonation.

[quoted text, click to view]

Re: How does RS connect to AS? jhcorey NO[at]SPAM yahoo.com
6/19/2006 5:20:11 AM
Thanks Tim,

I'm still a bit confused. I've used impersonation to make a web site
run as a single impersonated user, which would not be the case with RS.
I seem to remember reading something about Kerberos giving you the
facility to pass credentials to a second server (i.e. database). Is
Kerberos being used? Would you know if this is something I could
imitate in my web app?

Jim


[quoted text, click to view]
Re: How does RS connect to AS? Kaisa M. Lindahl Lervik
6/21/2006 12:00:00 AM
First question:
Is RS installed on the same box as Analysis Services? And are both your
computer, RS and AS inside your domain?
If it is, you can set the data source on your server to use Windows (NT)
Integrated Security, and it will use your credentials to connect to AS.

If they are on two different servers, you have a sligthly bigger problem on
your hands...

Kaisa M. Lindahl Lervik
[quoted text, click to view]

Re: How does RS connect to AS? jhcorey NO[at]SPAM yahoo.com
6/21/2006 5:26:07 AM
That's the conclusion I reached by experimenting -- RS and AS have to
be on the same box. Obviously I'd love to find out I'm wrong.

[quoted text, click to view]
Re: How does RS connect to AS? jhcorey NO[at]SPAM yahoo.com
6/21/2006 7:45:55 AM
Got it going, thanks to these instructions from MS. We have a dummy
user that
we use in the scenario below. (We won't be able to set security by
individual user in AS, but hopefully that will be ok. We can secure
the report)

1. Publish your report & data source from VS
2. Use Report Manager to browse to the report, click Properties
3. Click Data Sources, Choose "Credentials Stored securely in
the report server...."
4. Enter UID/PWD
5. Select "Use as Windows Credentials when connecting to the
data source" checkbox
6. *Click Apply*
7. View report again, click Properties, go back to Data Source
and make sure the changes you made have indeed been applied.

[quoted text, click to view]
AddThis Social Bookmark Button