The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Connecting to a remote SQL express instance

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Peter van Ooijen

Posts: 284
Nickname: petergekko
Registered: Sep, 2003

Peter van Ooijen is a .NET devloper/architect for Gekko Software
Connecting to a remote SQL express instance Posted: Jan 5, 2006 8:22 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Peter van Ooijen.
Original Post: Connecting to a remote SQL express instance
Feed Title: Peter's Gekko
Feed URL: /error.htm?aspxerrorpath=/blogs/peter.van.ooijen/rss.aspx
Feed Description: My weblog cotains tips tricks and opinions on ASP.NET, tablet PC's and tech in general.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Peter van Ooijen
Latest Posts From Peter's Gekko

Advertisement

Connecting from VS 2005 to a SQL express instance on another machine took me some puzzling. The sqlexpress weblog has a recipe how to get that done.  Which did not work as written down (most likely because it's addressing previous CTP's not the release build) but provided enough info to get it to work on my machine. Let me share this.

SqlExpress is installed as a part of VS. To get some tools I installed SQL server 2005 pro, a present from the launch party, on top of that. By default this server instance does not accept any connections from another machine. You switch that on using the SQL Server configuration manager. After a default install only the shared memory protocol is switched on. Activate the TCP/IP protocol:

Now the sql server instance will accept a remote connection. As you can see in the dialog it will listen on all IP addresses on port 1070. You need this information to connect from VS.

The server name is more complex than I was used to. It consists out of three parts: The machine name (Peckoltia), the named instance of SQL server (SQLexpress) and the port number (1070).

Read: Connecting to a remote SQL express instance

Topic: The big 3 0 Previous Topic   Next Topic Topic: Happy New Year

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use