I have a problem to create a connection to a sql server 2005 database.
We have a server with two instances of database, one is called sql2005
from the webserver we try to make a connection, no succes.
there is a rule added to the isa to forward requests to the dbserver
to error i get is the following:
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: TCP Provider, error: 0 - No such host is known.)
Allow remote connections is enabled if i check it on the server..
i found the solution
because of the multiple instances of sql server on the server we had to select a different port (not 1433).
I found this in the SQL Server configuration manager.
--> SQL Server 2005 Network Configuration
--> Protocols for SQL2005
--> Tab IP adresses
--> the value in TCP Dynamic ports was the one i apparantly needed
This has been driving me mad, esp. when you have to wait as long as I do to get some configuration done on your isa ;-)