Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connecting to SQL Server 7.0 using TCP/IP
Message
 
 
To
10/12/2000 20:30:36
Christopher Pinnock
United General Insurance Company
Kingston, Jamaica
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00450143
Message ID:
00451549
Views:
24
>Hi guys, thanks for all the responses. I tried to pass the ip address of the SQL server instead of the name and it works on some machines. However it doesn't wok on all. I would like to be able to allow the client to use the Server Name or the TCP/IP address. Sometime what i notice is that you can ping the server from MSDOS but it won't connect from the ODBC datasource or from a DSN less connection. Can someone explain why the variations ??? Oh and sometimes it will connect using ODBC but not using the DSN less connection I'm using from my app.


You can use Rich Strahl's wwIpstuff class to obtain IP address for a Server Name:
http://www.west-wind.com/wwIpstuff.asp
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform