J
JimLad
Hi,
<add name="ConnectionString"
connectionString="Data Source=xyz;Initial Catalog=xyz;Persist Security
Info=True;User ID=xyz;Password=xyz"
providerName="System.Data.SqlClient"/>
We are having connectivity problems between the IIS web server and the
db server. There is a firewall in between them.
SQL Server 2000 is listening on 1433 and only TCP/IP is enabled. The
error message mentions named pipes:
Exception type: SqlException
Exception message: An error has occurred while establishing a
connection to the server. When connecting to SQL Server 2005, this
failure may be caused by the fact that under the default settings SQL
Server does not allow remote connections. (provider: Named Pipes
Provider, error: 40 - Could not open a connection to SQL Server)
ASP.NET is running under NETWORK SERVICE.
I'm pretty sure it's not a problem with the connectionstring, but can
anyone see anything wrong here? Also which protocols does the
System.Data.SqlClient provider use by default and in which order they
are tried?
Cheers,
James
<add name="ConnectionString"
connectionString="Data Source=xyz;Initial Catalog=xyz;Persist Security
Info=True;User ID=xyz;Password=xyz"
providerName="System.Data.SqlClient"/>
We are having connectivity problems between the IIS web server and the
db server. There is a firewall in between them.
SQL Server 2000 is listening on 1433 and only TCP/IP is enabled. The
error message mentions named pipes:
Exception type: SqlException
Exception message: An error has occurred while establishing a
connection to the server. When connecting to SQL Server 2005, this
failure may be caused by the fact that under the default settings SQL
Server does not allow remote connections. (provider: Named Pipes
Provider, error: 40 - Could not open a connection to SQL Server)
ASP.NET is running under NETWORK SERVICE.
I'm pretty sure it's not a problem with the connectionstring, but can
anyone see anything wrong here? Also which protocols does the
System.Data.SqlClient provider use by default and in which order they
are tried?
Cheers,
James