March 6, 2003 at 8:14 am
How do you connect to sql server using tcp/ip in the conn string which is
the equivalent of setting an alias in cliconfg.exe
March 6, 2003 at 9:22 am
You should be able to substitute the server name with the IP address.
Guarddata-
March 7, 2003 at 1:38 am
Add the following to your connection string:
Network Library=DBNETLIB;Network Address=192.168.0.100,1433;
Change the example IP-address and port to whatever your SQL Server is using. If your using SQL Server 7 change DBNETLIB to DBMSSOCN.
--
Chris Hedgate @ Apptus Technologies (http://www.apptus.se)
Edited by - chrhedga on 03/07/2003 01:39:25 AM
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply