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

sql server reporting services : PLEASE HELP!!!! Unable to connect to SQL Database from Report Man


PV
6/10/2005 12:30:02 PM
Hi,
I am working with SQL Reporting services 2000.... The report is unable to
connect to a remote datasource as I try to preview it. The database uses both
SQL and Windows Auth.

1. Created a shared datasource in my project
2. Deployed it on the server. Used OverwriteDataSource = false
3. Create a new shared datasource on the server. Gave a connection string
with no username and password.
4. Selected "Credentials stored securely in the report server" and then
entered the SQL server login and passoword there.
5. Changed the report properties in the manager to use this datasource.
6. While trying to "View" via report manager, I am getting the error message

An error has occurred during report processing. (rsProcessingAborted) Get
Online Help
Cannot create a connection to data source 'xxxx'. (rsErrorOpeningConnection)
Get Online Help
SQL Server does not exist or access denied.


Nikolai Sonin
6/10/2005 12:49:01 PM
I too had this problem. The way that I fixed it was by making sure that I
could connect to the SQL server in question from the server that hosted the
reporting services website. It was the that I realized two very important
things.
1. The user profile that reporting services uses to run as a service needs
SQL server access.
2. The user profile that I entered as the login for the report needed to be
qualified with a domain name if it was a windows account.
These may not be your problem, but they were mine. I hope this helps


[quoted text, click to view]
PV
6/10/2005 1:18:01 PM
I confirmed this... Found out that I could connect from the Reporting
services machine to my SQL Server using the same SQL credentials....

Also gave access to the DB to the user that the Report Manager runs under...

But this still occurs.



[quoted text, click to view]
Leef
6/27/2005 4:34:01 PM
I'm having a very similar problem, but I have two reports using the
datascource and rendering no problem and a third that gets the
rsErrorOpeningConnection error. This report previews just fine in VS, but
when not when deployed to the server. Anyone know if RS is does some sort of
credential caching?

[quoted text, click to view]
Brian Welcker [MSFT]
6/27/2005 8:08:01 PM
There is no credential caching between data sources. Often this is some sort
of network name resolution issue.

--
Brian Welcker
Group Program Manager
Microsoft SQL Server Reporting Services

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

[quoted text, click to view]

Leef
6/28/2005 9:35:08 AM
Thanks! I finally figure it out.

It was a permissions problem, but was masked because I thought it was using
the shared datasource. Instead it was using a report specific datasource that
had the same name. The way I discovered this was by going and taking a look
at the XML code of the problem report.


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