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 ?

  • 1
    restart server machine. – garik Aug 9 '11 at 19:36

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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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