Today installed vs2012, used to be used vs2010, feel vs2012 with more cool, no matter how smooth, or very color interface, let me very much like.
Can not be happy for how long, found that the database is not connected, looked up a lot of information, find out why!! Special to share.
When you install Visual Studio 2013 or version 2012, the Microsoft SQL Server Express LocalDB service is installed automatically, causing the original SQL2008 not to work correctly.
(1)
Open the Control Panel, locate the uninstaller, uninstall MicrosoftSQL server LocalDB, and then open SQL Server Configuration Manager and the normal usage will be displayed.
(2)
The second option is to upgrade the database to use a higher version of the database, or to upgrade SqlServer2008 to SP1 or SP2.
(3)
The third method is to manually start the database service entry
Here's how:
Right-click computer → administration → services, locate SQL Server (MSSQLSERVER), right-click, and select Start. There is no problem logging into the database at this time, but after restarting the system, the problem will persist.
Questions about SqlSever2008 failure after installing vs2012