R
Randy
Hi,
I am trying to connect to a MS SQL Sever 2005 via an IP address and I am
having problems. I have setup MS SQL Server to accept remote connections.
Here is the connection string:
"Data Source=198.118.0.149,1433;Network Library=DBMSSOCN;Initial
Catalog=DB1;User ID=sa;Password=test;"
I think the connection string is correct. I had a few questions about the
connection string.
1) Should the Data Source include the name of the SQL Server
(198.118.0.149\TestServer)?
2) Is the User ID and password be the SQL authentication or Windows?
Here is the error:
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 - A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond.)
Any ideas?
I am trying to connect to a MS SQL Sever 2005 via an IP address and I am
having problems. I have setup MS SQL Server to accept remote connections.
Here is the connection string:
"Data Source=198.118.0.149,1433;Network Library=DBMSSOCN;Initial
Catalog=DB1;User ID=sa;Password=test;"
I think the connection string is correct. I had a few questions about the
connection string.
1) Should the Data Source include the name of the SQL Server
(198.118.0.149\TestServer)?
2) Is the User ID and password be the SQL authentication or Windows?
Here is the error:
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 - A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond.)
Any ideas?