Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TCP/IP
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Re: TCP/IP
Miscellaneous
Thread ID:
00570598
Message ID:
00570795
Views:
19
>Hi All:
> I am having difficulty in establishing a connection to Sql Server from my VFP app using TCP/IP. I get an error that said connection failed to Sql Server. I am however, able to establish connection to the sql server through Named Pipe. I am wondering if there is a difference in the TCP/IP code as opposed to the Named Code needed to establish connection. i.e. I used sqlConnect = SqlConnect("DataWareHouse"). If I can connect to the sql server using TCP/IP, do I need to reconfigure the sql server.
>Thanks for your help!!

You can bring up the Server Network Utility (SNU) and configure SS to listen for TCPIP requests. I don't believe SS does this by default. The default is to listen for Named Pipe connections only.

You then need to configure the DSN to connect using TCPIP to the IP port configured in the SNU.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform