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

sql server reporting services

group:

Login failed for user 'null'


Login failed for user 'null' SharinDenver
2/22/2006 12:28:54 PM
sql server reporting services:
I am using SQL Server 2000 and VS.net 2003 with Reporting Services. I have
deployed several reports.

I am trying to open a report to edit it. When I click on the data tab, I
get the following error:

A connection cannot be made to the database.
Set and test the connection string.
Login failed for user 'null'. Reson: not associated with a trusted SQL
Server connection.

I can open a different report and it works fine. I am connecting to the
exact same db with the exact same credentials. I am using the "use a
specific username and password" option and using a read only account created
in SQL Server. I can test the connection and it says it connects
successfully.

What is going on? It is so random. Of all my reports, some have this
problem and then others don't and they are all using the same connection.
Re: Login failed for user 'null' Kaisa M. Lindahl
2/23/2006 12:00:00 AM
Are the problem reports connected to more than one Database connection?
If I need to connect to two different databases in one report, I have
problems with the connection. All dataconnections to SQL Servers seems to
use the same credentials... So if I want to connect to database1 with user1
and database2 with user2, I will end up trying to connect to both database1
and database2 with the credentials for user2. Off course this can cause
problems. I don't know why, and ususally I end up trying to either use the
same connection, or have a read only user with the same credentials in both
databases. (Not very secure.)

Kaisa M. Lindahl Lervik


[quoted text, click to view]

Re: Login failed for user 'null' SharinDenver
2/23/2006 1:35:30 PM
I am only connecting to one db. :(

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