Step-by-Step: Installing SQL Server Management Studio 2008 Express after Visual Studio 2010

Step-by-Step: Installing SQL Server Management Studio 2008 Express after Visual Studio 2010

Rate This

UPDATE 7/31/2012 - Since this post new versions of SQL Server & Visual Studio have been released. To install the latest version of SQL Server see SQL Server Install. For more information on working with SQL Server Local DB in Visual Studio 2012 see Working with SQL Server LocalDB in Visual Studio 2012 and the MSDN Library SQL Server 2012 Express LocalDB.

One of the first things I always do after installing Visual Studio is to install SQL Server Management Studio (SSMS). Visual Studio 2010 installs SQL Server 2008 Express on your machine but doesn’t include SSMS. Although you can use Visual Studio to create/connect/design databases, I like having SSMS around for advanced management. I recall SSMS for SQL Server 2005 was a simple install, unfortunately they threw the kitchen sink into the SSMS 2008 installer and I’m always confused at which buttons I need to push to get it to do what I want. So I’m writing up this blog post for two reasons 1) So I remember the steps and 2) So you can be less frustrated :-) (BTW, a birdie tells me that the SQL team is looking at making this installer much simpler in the future. Hooray!)

Okay the first thing you need is to make sure you get the right version of SSMS. If you installed Visual Studio 2010 then you will need the 2008 version (not R2).

STEP 1: Download Microsoft® SQL Server® 2008 Management Studio Express and select either SQLManagementStudio_x64_ENU.exe or SQLManagementStudio_x86_ENU.exe depending on your machine’s OS bit-ness. I’m running Windows 7-64bit so I’ll be detailing the steps as it pertains to that OS.

STEP 2: Make sure you’re logged in as an administrator of the machine then right-click on the exe you downloaded and select “Run as Administrator”. If you’re on Windows 7 then you’ll get a compatibility warning. Click past it for now to continue with the install. Later you’ll need to apply SQL 2008 Service Pack 2.

STEP 3: You should now see the “SQL Server Installation Center” window. Yes it looks scary. Select the “Installation” tab.

image

STEP 4: Select “New SQL Server stand-alone installation or add features to an existing installation”. It will then run a rule check. Make sure there are no failures and then click OK.

image

STEP 5: The next step is misleading. The Setup Support Files window looks like it’s doing something and stuck on “Gathering user settings.” It’s actually waiting for you to click the Install button! Doh!

image

STEP 6: Another rule check. You’ll probably end up with a Windows Firewall warning this time. If you want to enable remote access to SQL Server you’ll need to configure the firewall later. Since I’m using SQL Server Express for development purposes on this machine only, I won’t need to worry about that. Click Next.

image

STEP 7: Okay here is the step I always mess up because it’s just not intuitive at all. On the Installation Type window you have a choice between “Perform a new installation of SQL Server 2008” OR “Add features to an existing instance of SQL Server 2008”. You need to select new installation, NOT add features. I know I know, totally weird. You would think that since you just want to add SSMS that it would be Add features to existing instance – I mean I don’t want a new instance, just the dang tools. Sigh. Click Next.

image

STEP 8: Next you get the Product Key window. You obviously don’t need a product key for SQL Server Express since it’s free so just click Next.

image

STEP 9: Accept the License Terms and click Next.

image

STEP 10: Okay now for the window we’ve all been waiting for - Feature Selection. Check off “Management Tools – Basic” and then click Next.

image

STEP 11: Verify your disk space requirements and click Next.

image

STEP 12: Help Microsoft improve SQL Server features and services by selecting to send usage and error reports to them (or not). Click Next.

image

STEP 13: Another quick rule check runs. Click Next.

image

STEP 14: Now it looks like we’re ready to install. Click the Install button.

image

The install will kick off and will take about 5 minutes to complete.

STEP 15: Once the installation completes, click the Next button again.

image

STEP 16: Complete! Click the Close button and you should be all set.

image

STEP 17: Fire up SQL Server Management Studio! You should now see it in your Programs under Microsoft SQL Server 2008. Make sure you run it as an administrator for access to all the features.

image

And don’t forget at some point to install the latest SQL Server 2008 Service Pack. I hope this helps people who have just installed Visual Studio 2010 but also want to install SQL Server Management Studio. I know I’ll be referring to my own post on this when I need to do it again :-)

Enjoy!

Leave a Comment
  • Please add 8 and 3 and type the answer here:
  • Post
  • Thanks so much!

  • Damn step 7. I lost about 2 hours before I found this post.

    You are a saver. Thanks

  • I have an error:

    TITLE: Microsoft SQL Server 2008 Setup

    ------------------------------

    The following error has occurred:

    Another version of Microsoft Visual Studio 2008 has been detected on this system that must be updated to SP1.  Please update all Visual Studio 2008 installations to SP1 level, by visiting Microsoft Update.

    please tell me what to do next?

  • Hey i have installed as per your rules and following screenshots but I have got tackled with a problem that after opening the Microsoft SQL Studio 2008 Express Edition

    I a msg is popping as the Server is not connected

    also the MS SQL services not getting Installed

    please help me ....

  • Very helpful, thanks

  • I must simply say " THANK YOU ! " - Gotta love that one doozi that is just plain not intuitive.

  • Thank you so much. Good Work.

  • Thanks a lot!

  • Hi Beth

    thanks a lot. But there is a problem while I've trying to run the SQL. That's the problem, stackoverflow.com/.../how-to-connect-to-local-instance-of-sql-server-2008-express

    and solution given by Govardhana Reddy. But, lately discovered that Step 10, I should have checkbox the Connectivity tools too. Which is now making a problem, even while I gave my USERNAME-PC/SQLEXPRESS.

    Can you please share some idea, whatever it's related problem or not.  

  • Thank you very much. Very useful!

  • thank you so much, i was banging my head against the wall until this post. how unlogical is this process, come on!

  • you saved my life. this is the only useful thing I've found on the internet. I dunno why Microsoft makes it so complicated..

  • Thanks a lot :)

  • thank you :) it really helps me a lot

  • You are a wonderful human being and may the computer gods shine down on you! What a dumb installer!!! Talk about not making any sense at all? Your guide was perfect and very helpful. Thanks again!

Page 16 of 30 (443 items) «1415161718»