A network-related or instance-specific error occurred 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)

In daily routine developers often face this error

A network-related or instance-specific error occurred 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)

So the problem is that your server is stopped, and you have to start it manually..
following is the procedure for windows 7:

1- Go to start and search for SQL server configuration manager

2- In SQL server configuration manager navigate to sql server services tab located on the left side of the page.

3- Right click on the server and start it.

4- Close SQL server configuration manager and restart sql server management studio.

5- You are good to go.

if there is any question ask in the comments.
 

Comments

Popular posts from this blog

GRANDING UTime Master - IDOR (CVE-2023-45393)

GRANDING UTime Master - Stored XSS (CVE-2023-45391)

Ericsson BSCS iX R18 Billing & Rating (ADMX, MX) - Stored XSS (CVE-2020-29144, CVE-2020-29145)