Friday 30 November 2018

Could not open a connection to SQL server

I was getting the following error while login to SQL server 2008

Getting the following error:

Cannot connect to..+ additional information: +
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: Named Pipes provide, error: 40- could not open a connection to SQL server)(Microsoft SQL Server, Error: 2)


Resolution:
While verifying the Services i found that the MSSQLSERVER service was stopped, after starting this service my issue was resolved.