Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

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

Ok, I've installed SQL Server 2008 R2.

I'm trying to add a "SQL Server Database" to an ASP MVC project.

But it keeps telling me I need SQL Server for it to work.
What do I need to do to setup the SQL Server properly for it to work with VS2010 ?

I've tried messing with the SQL Server Management Studio, and can't seem to connect to anything through there.

What am I doing wrong ? How can I create a working SQL service ?

share|improve this question
restart server machine. – garik Aug 9 '11 at 19:36
up vote 5 down vote accepted

Go to your SQL Server Configuration Manager. You will find it in the SQL Server folder, under Configuration Tools.

Check the list of services that are currently running. At the minimum you should have started "SQL Server (MSSQLSERVER)" (if it's the default instance).

After you check that, go to the client and to the server protocols and see if the TCP/IP and Shared Memory protocols are enabled. If yes, then you should be set for the first time use of SQL Server.

Open Management Studio and try to connect to the local instance: use local machine name or IP. If it won't work, please tell us any error that you might get.

share|improve this answer
Thanks, problem was I didn't have service instance at all. Needed to reinstall (5th time) and then it created it finally – Yochai Timmer Aug 10 '11 at 4:33

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.