Click here to Skip to main content
15,902,635 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
Hello,

I recently installed Visual studio 2015 and then I installed MS sql server 2016.
Using sql server managment studio sql server name is not listed in the drop down list of server name when we trying to connect to server. I know that if we install visual studio and then sql server then it will give some problems. Is that this problem?
Posted
Comments
Afzaal Ahmad Zeeshan 14-Jan-16 11:51am    
No, there are no problems in installing the either one before or later.

You should consider adding a new server to your machine. SQL Server management studio may help... Also, I have found that this error occurs in many systems that the server instance is not shown.
ZurdoDev 14-Jan-16 12:09pm    
Make sure SQL is running. Also just trying typing it in (local) if it's the same machine and see what happens.
Kishor-KW 14-Jan-16 12:36pm    
The attempt to attach to the database failed with the following information:
A network-related or instance-specific error occured while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces,error:26-Error Locating Server/Instance Specified)

This error is getting. I understand this error but not able to resolve it.
Abhishek Verma 15-Dec-16 11:02am    
From where you got Visual Studio, I am getting error with every installer now.

1 solution

The first thing you should check, is the SQL Server service up and running. If it is, check your connection string, especially have a close look in the instance name. For examples, have a look at SQL Server connection strings - ConnectionStrings.com[^]. These should help you to connect to the instance

What comes to listing the instances in the drop down list, make sure that SQL Browser service is running. For detailed information about this service, look at SQL Server Browser Service[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900