Skip to main content
All CollectionsInspectorsMicrosoft SQL Server
Microsoft SQL Server | Error: 40 - Could not open a connection to SQL Server
Microsoft SQL Server | Error: 40 - Could not open a connection to SQL Server
Updated over 11 months ago

Details

Connectivity test failed. Exception: 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)

Troubleshooting

This error indicates a general issue connecting to the server on which your SQL Server Database Engine instance is running. To get started troubleshooting, please reference this knowledge base article from Microsoft.

Did this answer your question?