Groups | Blog | Home
all groups > sql server reporting services > april 2005 >

sql server reporting services : Report runs in preview in VS.net 2003, but not on Report server


Fredrick A. Zilz
4/11/2005 5:12:15 PM
I have a report which I have published to my Report server (sql 2000 on
windows 2003). This report runs from my VS.net developers edition preview
page, but once I publish it to my Sql reporting services report server, it
will not run - there is a long delay, then I recieve repeated prompts for
username and password, and then failure.

I am logged in as the same user as on my vs.net.
I have a number of other reports that run correctly on both my development
system and on the report server. I just can not figure out what I have
different in this report or datasource that is causing this issue.

If anyone can help me figure out what permissions I have messed up. I would
appreciate it.

Fred Zilz

Norman Yuan
4/11/2005 5:25:15 PM
When you run Report as preview in VS.NET, the Report Server is not involved.
So, the preview running fine means you do not have problem to get data (if
the database reeqires logging in).

Therefore, your problem could be that your account cannot log into report
server (do not confuse it with database server, although both may use the
same SQL Server). You could use Report Manager to go to the folder where the
report is deployed, click Properties->Security to see who is allowsed to
browse reports in that folder.

[quoted text, click to view]

Dan
4/11/2005 9:45:02 PM
I have found that the designer and the server handle credentials differently,
are you storing your credentials in the connection string by any chance?

[quoted text, click to view]
Fredrick A. Zilz
4/13/2005 12:46:03 PM
Yes, I am storing credentials in the connection string.

[quoted text, click to view]

Robert Bruckner [MSFT]
4/13/2005 10:23:40 PM
For security reasons, the report designer will remove credentials from the
connection string (and therefore not store in the RDL connection string on
disk). Consequently, the published report on the server has no credentials
specified and you need to add them e.g. through report manager by updating
the data source information. Credentials specified there are stored
encrypted in the report server metadata database.


-- Robert
This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

Fredrick A. Zilz
4/14/2005 9:19:10 AM
I have looked at the datasources of a report that works and one that does
not, both have the credentials stored in the metadata database both are
shared data sources, both use the same SQL credentials and both databases
are set with the credentials authorizing database permit and read
permissions. I double checked the security settings on the report server
and both shared data sources and both reports are set with the same security
settings (domain users with browser permissions)

I have tried deleting the reports and redeploying with the same results. I
just can not seem to find what is different between the reports that work
and the ones that don't. They are in fact both in the same report Solution
on my VS.net development station.

[quoted text, click to view]

Fredrick A. Zilz
4/14/2005 12:15:42 PM
As a way of trouble shooting I created a new datasource in the same project
as the malfunctioning report. I created a simple report based on that data
source, but used the same connection credentials (SQL) and the same query
string. Deployed this and it works. I then set my malfunctioning report to
the new datasource redeployed and ran - same problem - long pause and then
request for credentials.

[quoted text, click to view]

AddThis Social Bookmark Button