Re: ?? Turning Off TCP/IP Client Has No Effect ??



Did you stop and restart the service after disabling TCP/IP
protocol? The settings won't take effect until after you
restart the service.

-Sue

On Mon, 10 Apr 2006 01:38:29 -0500, "Alan Foxmore"
<AFoxmore@xxxxxxxxx> wrote:

Hi Everyone,

I was doing some testing with client configuration and I'm seeing
something I don't understand. Let me explain the setup.

My setup involves a single machine running "SQL Server Express 2005".
As you probably know, SSE includes the "SQL Server Native Client". I
run the "SQL Server Configuration Manager" and under the "SQL Native
Client Configuration" | "Client Protocols" node, I disable TCP/IP. My
understanding is that this should prevent clients on this machine from
using TCP/IP to connect to any SQL Server instance. Does this sound
right so far?

Well, when I run SQLCMD (specifying "tcp:" as the protocol) I am still
able to connect to the instance on the local machine.

In other words, I have TCP/IP disabled as a client protocol, yet I am
still able to successfully connect to an instance using SQLCMD with a
command line like this:

SQLCMD -S tcp:.\TEST_01 -d AdventureWorks

Now, it's my understanding that SQLCMD relies upon the "SQL Server
Native Client". And since I've (supposedly) configured the "SQL Server
Native Client" *NOT* to allow TCP/IP connections, the above SQLCMD
connection should not work, yet it does.

What am I missing here?

.



Relevant Pages

  • Re: Named Pipes vs TCP/IP
    ... > Why would one choose Named Pipes over TCP/IP for the client net lib? ... the SQL Client and SQL Server would not correctly negotiate packet ... This was resolved in SQL Server SP2. ...
    (microsoft.public.sqlserver.server)
  • Re: sql server2000; TCP/IP vs Named Pipes
    ... wireshark.org have an excellent protocol analyser. ... My company is running an application that uses sql server 2000 sp3. ... We prefer to use TCP/IP but we are having issues with users losing there ... How can I isolate the problem to th network? ...
    (microsoft.public.sqlserver.tools)
  • Re: SQL 2005 orphaned connections
    ... Once under "SQL Server Configuration Manager Help --> SQL Server 2005 Network ... Client Protocols --> Client Protocols - TCP/IP Properties ". ... It would suggest to me that the "keep alive" setting for the Server Network Configuration relates to how often the server pings the client. ... it describes Keep Alive under TCP/IP protocol as the ...
    (microsoft.public.sqlserver.connect)
  • Re: Cant access linked server, except from
    ... You do this by opening up SQL Server Configuration Manager from the ... Underneath the SQL Native Client Configuration you find the Client ... Protocols - here the Named Pipes protocol have to be enabled... ...
    (microsoft.public.sqlserver.security)
  • Re: domain accounts & SQL logons ...
    ... client network utilty and forcing the protocol being used to TCP/IP for that ... > all resources on the domain except for the SQL server to which he is an ...
    (microsoft.public.sqlserver.server)