Forum Discussion
Setup Testenvironment
Hi Hascins,
What does the error message mean? Could you please translate it into English to help me better understand?
Regards,
Yuliana Gu
Hey, sure:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accesssible. Verify that the instance name is correct and that SQL Server is configured to allow remote connection. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server.
Thanks in advance!
- v-yulgu-msft8 years agoMicrosoft Employee
Hi Hascins,
First, you should make sure the machine that is running SQL Server is reachable. In other words, you are able to ping the server. Then, test whether you can connect to the same DB instance in SSMS.
For more proposals, please check below links:
Troubleshoot Connecting to the SQL Server Database Engine
Regards,
Yuliana Gu