SqlException "provider: TCP Provider, error: 26 - Error Locating Server/Instance Specified" in 5.2.0 on Mac, not Windows #2477
Labels
2️⃣ Duplicate
Issue/PR that is a duplicate and already exists.
Describe the bug
Hey all,
We are encountering an error with SqlClient version 5.2.0 when trying to connect to a sql connection ONLY ON MAC using SqlClient 5.2.0, but not when using 5.1.5, using a simple Console App with the below code running. Note that running this on Windows works fine, but when running it on a Mac, it does not.
To reproduce
Include a complete code listing (or project/solution) that we can run to reproduce the issue.
Further technical details
Microsoft.Data.SqlClient version: 5.2.0
.NET target: net8.0, net7.0
SQL Server version: (e.g. SQL Server 2017) I'm not sure...
Operating system: macOS 14.4.1
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: