About this question
When I connect to my local server, I get this message 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 Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2) This is my login information: Server type : Database Engine Server name : . Authentication: SQL Server Authentication Login: sa Password: *** SQL Server service is started and is in a running state. I'm connecting to a default instance. Why I cannot connect to local SQL server? How can I fix it?