SQL Server Instance not showing in Visual Studio while connection
-
12-11-2019 - |
Question
When I add a new connection in visual studio, then in the server name it is not showing a-9\MSSQLSERVER
, it shows a-9\sqlexpress
and a-9\new
but I want to connect to MSSQLSERVER.
But when I change the data source to Microsoft ODBC Data Source then it shows the instance MSSQLSERVER.
But when I choose Data Source as "Microsoft SQL Server Database File (SqlClient)" or "Microsoft SQL Server (SqlClient)" then it gives error "Network related instance error."
Solution
It turns out there is something called SQL SERVER DATA TOOLS 2012. If I add my SQL Server to this tool than it appears in the Server Explorer in Visual Studio 2012. This solved my problem.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow