0

I have installed SQL Server 2014, and I did not specify any password and username, preferred Windows authentication. At the very first time the server connection was successful. But later on this error keeps showing up and the connection fails :

Server error connection
Cannot connect to DESKTOP-4JBE86H

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.( and some additional explanation)
The system cannot find the file specified.

Moslem
  • 39
  • 1
  • 7

2 Answers2

0

Probably your SQL services are not working the easiest way to start them is to open cmd with admin rights and type

net start mssqlserver

And you are good to go

Nabeel Zafar
  • 191
  • 10
0

See if the service is standing, and also verify that port 1433 is enabled for network access on the firewall

Fabiano Carvalho
  • 504
  • 1
  • 6
  • 17