Check if instance name is correct and if SQL Server is configured to allow remote connections. : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified Provider: TCP Provider, error: 0 - No such host is known. Provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server (Microsoft SQL Server, Error: 53) Verify that the instance name is correct and that SQL Server is configured to allow remote connections. 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: 53)Ī network-related or instance-specific error occurred while establishing a connection to SQL Server. You can check the following details to see if you're encountering one of the following error messages: A network-related or instance-specific error occurred while establishing a connection to SQL Server.
The complete error messages vary depending on the client library that is used in the application and the server environment. The article provides some steps to help you troubleshoot these errors, which are provided in order of the issues from simple to complex. When connecting to a SQL Server instance, you may encounter one or more of the error messages below.