Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I was taking class in college, I only had to download Management Studio and connect a SQL server from the university. Howevere, I'm no longer in that class and would like to practice on my local machine. I've installed SQL Server replication on my local machine, but I don't know how to access it using Management Studio. Please help.

share|improve this question
up vote 0 down vote accepted

It sounds like you've installed SQL Express under the default instance (SQLEXPRESS). To connect via SSMS, you should use the machine name (or localhost, if it is the local machine), backslash, and the instance name as the server name. So in your case, try entering localhost\SQLEXPRESS.

As for the authentication, unless you specifically enabled Mixed Mode Authentication during the installation, you only have Windows Authentication available. You likely added the account you used during the installation as an administrator, so you should be able to run SSMS as that user, and select Windows Authentication to access your sever.

share|improve this answer
should i use the following in my ASP webpage to access the site? Dim mstrConnection As String = "workstation id=COMPUTER; packet size = 4096; data source = localhost\SQLEXPRESS; integrated security = false; user id=x309-PC\x309; password=" – user34683 Mar 10 '11 at 3:22
A good resource for finding this information is All you should need is "Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;" for SQL authentication. If you're talking ASP.NET, you should embed this in the web.config file, rather than in the page itself. If you want to pursue this further, you should probably open a new question. – Joe Mar 10 '11 at 19:20

Replication is found in the main tree of SSMS. You will need 2 separate instances installed on the machine to be able to replicate between them. With SQL Express, you can only be a subscriber. To create a publication, you need to install SQL standard, workgroup, enterprise, etc.

share|improve this answer
I've installed an instance named SQLExpress, but I don't know how to access it when I run management studio – user34683 Mar 6 '11 at 4:34
You can't access it because there is no replication available in express. – DanBig Mar 6 '11 at 18:52
Just to add that the developer version gives you all of the features of Enterprise, and is fairly inexpensive (~ $45). – Joe Internet Mar 6 '11 at 20:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.