1

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 ?

asked Aug 9, 2011 at 18:29
1
  • 1
    restart server machine. Commented Aug 9, 2011 at 19:36

1 Answer 1

5

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.

answered Aug 9, 2011 at 22:29
1
  • Thanks, problem was I didn't have service instance at all. Needed to reinstall (5th time) and then it created it finally Commented Aug 10, 2011 at 4:33

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.