all groups > sql server reporting services > september 2004 >
You're in the

sql server reporting services

group:

Dropping Data Connect String


Dropping Data Connect String TJ
9/30/2004 5:55:47 PM
sql server reporting services:
I've created a data source connection using the sa login and password with
the save password option. Running the stored procedure returns a good result
set. Ok, I'm feeling pretty good at this point . But after clicking on the
Preview tab, I receive the following message: "A connection cannot be made
to the database. Set and test the connection string. Login failed for
DIM\tj."

Of course testing the connection works fine, but why is trying to
authenticate using my credentials when it should be use the connect string?

I'm running RS SP1 against a SQL 2000 db.
--
Any and all contributions are greatly appreciated ...
Regards TJ

Re: Dropping Data Connect String Brian Welcker [MSFT]
10/1/2004 6:28:31 AM
It couldn't be something inside the stored procedure, could it? Can you do a
straight select?

--
Brian Welcker
Group Program Manager
SQL Server Reporting Services

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

[quoted text, click to view]

Re: Dropping Data Connect String TJ
10/1/2004 3:49:40 PM
If it is, I'm not seeing any errors when I execute the stored procedure on
the Data Tab. Is there an error log for the Data Tab?

[quoted text, click to view]

Re: Dropping Data Connect String StanDaMon
10/14/2004 2:13:03 PM
I am running into the exact same issue... Any resolution to this yet?

[quoted text, click to view]
Re: Dropping Data Connect String TJ
10/15/2004 10:14:56 AM
Here are a couple of things you might try:

a) I was calling a stored procedure from within a stored procedure using the
exec command; The report data connection account didn't have permissions for
the stored procedure inside the main stored procedure. I found the
permissions issue by running the main stored procedure in Query Analyzer,
but you need to open your Query Analyzer connection using the same data
connection information being used in your report.

b) You can hard code the User Id and password setting in the Connection
String on the Data Source Tab for the report.

Good Luck

TJ

[quoted text, click to view]

AddThis Social Bookmark Button