Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.Data.SqlClient.SqlException: '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)' #1

Open
MrEshboboyev opened this issue Nov 22, 2024 · 0 comments
Assignees

Comments

@MrEshboboyev
Copy link
Owner

I have tried all the following:

  1. Sql Server Agent configuration (start, stop, restart)
  2. Sql Server Network Manager configuration: TCP/IP, Named Pipes, (enable , disable)

You should also consider solutions for other database providers (this did not work with Postgres).

@MrEshboboyev MrEshboboyev self-assigned this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant