Re: Fix of problem connecting VS2005 to remote Sql 2000 server
- From: "Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx>
- Date: Mon, 6 Mar 2006 23:20:06 +0100
"RvGrah" <rvgrahamsevatenein@xxxxxxxxxxxxx> wrote in message
news:1141682665.893774.196410@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
| How should you connect to a remote Sql server across a vpn connection
| if you shouldn't use the "np:" named pipes prefixing? (I am in a
| working across corporate networks, although we're talking about quite
| diminutive corporations.)
|
| Or when I'm in Sql Management Studio and wish to push some database
| tables to our branch office (not really a branch, more of a clone
| company in another state that shares the same software development and
| database design). In Sql Server 2000 Enterprise Manager, if I just made
| a vpn connection to the remote office, I could copy tables or stored
| procedures etc from server to server without any special effort. Is
| using np:<servername> not the right way to do it using 2005 tools? I
| want to use the newer interface to get accustomed to it, and because it
| offers superior tools for copying tables, as a for instance.
|
| Any further guidance appreciated.
|
| Bob
|
Use the TCP protocol over port the default SQL server port 1433. Named pipes
use the SMB protocol (over port 445), which is good for 'direct' connections
or where client and server are on the same box, for anything else you should
set-up SQL server to use TCP (SQL server uses port 1433 by default). Note
that named pipes is not a new protocol (the first SQL version had it
already), I'm also not clear on what you mean by ....superior tools...,
named pipes are no tools, they are protocol end-points like sockets are for
TCP
Willy.
.
- Follow-Ups:
- References:
- Fix of problem connecting VS2005 to remote Sql 2000 server
- From: RvGrah
- Re: Fix of problem connecting VS2005 to remote Sql 2000 server
- From: Willy Denoyette [MVP]
- Re: Fix of problem connecting VS2005 to remote Sql 2000 server
- From: Willy Denoyette [MVP]
- Re: Fix of problem connecting VS2005 to remote Sql 2000 server
- From: RvGrah
- Fix of problem connecting VS2005 to remote Sql 2000 server
- Prev by Date: design tips needed
- Next by Date: Re: IBM DB2 UDB and C#
- Previous by thread: Re: Fix of problem connecting VS2005 to remote Sql 2000 server
- Next by thread: Re: Fix of problem connecting VS2005 to remote Sql 2000 server
- Index(es):
Relevant Pages
|