You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: System.PlatformNotSupportedException: Microsoft.Data.SqlClient is not supported on this platform.
Exception message:System.PlatformNotSupportedException: Microsoft.Data.SqlClient is not supported on this platform.
Stack trace: System.PlatformNotSupportedException: Microsoft.Data.SqlClient is not supported on this platform.
at Microsoft.Data.SqlClient.SqlConnectionStringBuilder..ctor(String connectionString)
To reproduce
Use Microsoft.Data.SqlClient" Version="5.2.1" in mcr.microsoft.com/dotnet/aspnet:6.0.28-alpine3.19 image
"ConnectionString": "Server=tcp:xxxxxxx.database.windows.net;Initial Catalog=XXXXXXX;Connection Timeout=50"
Describe the bug
Error: System.PlatformNotSupportedException: Microsoft.Data.SqlClient is not supported on this platform.
To reproduce
Use Microsoft.Data.SqlClient" Version="5.2.1" in mcr.microsoft.com/dotnet/aspnet:6.0.28-alpine3.19 image
"ConnectionString": "Server=tcp:xxxxxxx.database.windows.net;Initial Catalog=XXXXXXX;Connection Timeout=50"
Expected behavior
Successful connection should be created
Further technical details
Microsoft.Data.SqlClient version: 5.2.1
.NET target: net6.0
SQL Server version: Azure SQL Database Managed Instance, Windows Server 2022 Datacenter (10.0)
Operating system: Docker container - mcr.microsoft.com/dotnet/aspnet:6.0.28-alpine3.19
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: