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

sql server reporting services

group:

RS server cannot connect to SQL


RS server cannot connect to SQL Igor
2/12/2006 6:08:26 AM
sql server reporting services:
Hi everyone!

Does anybody know what I'm doing wrong when trying to connect to SQL
database placed on other than RS server computer?
When I'm connecting to SQL database, placed on the same computer as RS
server, everything works properly, by if am going to execute report for
database from another computer, the error occurs.

What I have to define or change to allow RS server to execute report without
depending on database and computer.

Best regards!
Re: RS server cannot connect to SQL darrenmr2 NO[at]SPAM gmail.com
2/12/2006 3:48:26 PM
Hi Igor,

I had the same problem with developers edition - seems to work fine
with Enterprise addition - may be undocumented 'feature restriction'.

Darren


[quoted text, click to view]
Re: RS server cannot connect to SQL Igor
2/12/2006 9:29:26 PM
Thanks.
As I remember, there is standard edition installed om my server.
I'll try with other editions.

Best regards!
Igor.

[quoted text, click to view]
Re: RS server cannot connect to SQL Bruce L-C [MVP]
2/13/2006 9:08:27 AM
Standard edition is not a problem.

Seems to me to be a credential problem How is your shared datasource setup?


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Re: RS server cannot connect to SQL Igor
2/13/2006 10:04:26 PM
Hi!

We work without shared datasource.
What we cannot understand is why there is does not work. We simply create a
connection string with credentials "sa" with empty password. The same user
and password defined on each SQL server I want to connect to.
If I try to work with SQL server placed on the same computer with RS server
everything works properly, but if I try connect to SQL server on another
computer, the error will occurred. It seems like we have no permission to
connect from RS server to any other SQL servers except local.
Of cause the problem is in permissions, but is it in SQL server connection
on generally other computer accessing that is a question.

The Datasource definition to work with SQL server on the same computer with
RS server looks like this:
<DataSources>
<DataSource Name="LSRDSOURCEREMP1">
<ConnectionProperties>
<DataProvider>SQL</DataProvider>
<ConnectString>Data Source=multi-rack2003;Initial
Catalog=IBSQL;Packet Size=4096;Workstation ID=IGOR;
</ConnectString>
</ConnectionProperties>
</DataSource>
</DataSources>


To connect to another SQL server looks like this:
<DataSources>
<DataSource Name="LSRDSOURCEREMP1">
<ConnectionProperties>
<DataProvider>SQL</DataProvider>
<ConnectString>Data Source=IGOR;Initial Catalog=IBSQL;Packet
Size=4096;Workstation ID=IGOR;
</ConnectString>
</ConnectionProperties>
</DataSource>
</DataSources>

The call to RenderReport we produce with the same parameters:
In Credentials parameters we send one element with
..DataSourceName = ="LSRDSOURCEREMP1"
..UserName = “sa”
..Password = “”

Of cause “sa” is accessible on both SQL servers.

What we are missing in our work?

Best regards!
Igor.

[quoted text, click to view]
Re: RS server cannot connect to SQL Bruce L-C [MVP]
2/14/2006 9:19:52 AM
Have you tried to get all the reports working from Report Manager?


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Re: RS server cannot connect to SQL Igor
2/16/2006 12:25:30 AM
Hi! No, we did not.
We'll try !

[quoted text, click to view]
Re: RS server cannot connect to SQL Igor
2/16/2006 12:45:28 AM
We checked !

The connection string is: Data Source=IGOR;Initial Catalog=IBSQL;Packet
Size=4096;Workstation ID=IGOR;

On both SQL servers there is a database with the same name IBSQL and user
"sa" with blank password.

If we just change Data Source to name of SQL server which placed on the same
computer with RS server every thing works properly.

We works with SQL server user "sa" with empty password.

The message we are getting: "An error has occurred during report processing.
Cannot create a connection to data source 'LSRDSOURCEREMP1'." Where
"LSRDSOURCEREMP1" is the name of our datasource.

What wrong with our datasource or may me have to configurate IIS on RS
server computer to work with specific user not with anonymous access.

Thanks!
Igor




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