Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server is not showing in Visual Studio

I just installed SQL Server Express on my PC and for some reason it is not showing in my list of available servers to connect on Visual Studio 2010. I added some pictures to explain exactly my problem. I have no idea how to fix this because it is up and running, but not showing up...

enter image description here

enter image description here

enter image description here

like image 869
Stan Avatar asked Jun 30 '11 17:06

Stan


People also ask

How do I view SQL Server in Visual Studio?

To connect to your SQL Server database in Visual Studio start a new project and bring up Server Explorer either by clicking on the tab next to the Toolbox or by going to View > Server Explorer. Right click on 'Data Connections' then click 'Add Connection'.

Does Visual Studio 2022 include SQL Server?

Visual Studio 2022 installs an old version of SQL Server Local DB (2016) but should be 2019. THis makes it difficult to develop and test code compatible with 2019 but not 2016.

Is SQL Server included in Visual Studio 2019?

Nope, you have to buy them separately, but you can work with SQL Express in the meantime.


1 Answers

If the SQL Server Browser service isn't running, it won't find it (which you have disabled). You should still be able to connect to it even though it isn't "discoverable". Try connecting with (local)\SQLEXPRESS.

like image 57
vcsjones Avatar answered Oct 11 '22 18:10

vcsjones