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 ?
-
1restart server machine.garik– garik2011年08月09日 19:36:27 +00:00Commented Aug 9, 2011 at 19:36
1 Answer 1
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 finallyYochai Timmer– Yochai Timmer2011年08月10日 04:33:34 +00:00Commented Aug 10, 2011 at 4:33