-
Notifications
You must be signed in to change notification settings - Fork 292
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
Unkown exception after upgrading to .Net 5 #1171
Comments
Have you tried version 3? |
Hi @kewinbrand. If the application setup allows, can you try your application with |
Hi @kewinbrand The driver version you're using is a non-LTS and is Out of Support. Also this issue had been fixed in v2.1 (ref #692). Please upgrade to either v2.1 or v3.0. If you continue to reproduce error, please provide a repro. |
I don't reference the package manually. I see that Microsoft.EntityFrameworkCore.SqlServer uses [email protected]. Should I raise a issue to them? |
Just add an explicit packagereference to the newer version https://erikej.github.io/efcore/sqlclient/2020/03/22/update_mds.html |
Sadly EF Core 5 still depends on 2.0.1. |
@kewinbrand do you have any further questions? |
@cheenamalhotra the problem has gone away after referencing the package |
@kewinbrand far from all customers use the managed SNI layer, it is only applicable to non- Windows platforms |
After upgrading to .NET 5 and consequently updating Microsoft.Data.SqlClient, we started to see strange errors related to the package. The call stack is very poor and I am not sure how to reproduce it.
Further technical details
Microsoft.Data.SqlClient version: 2.0.20168.4
.NET target: .NET 5.0.5
SQL Server version: SQL Server 2019
Operating system: Docker, Linux 5.4.17-2011.5.3.el8uek.x86_64 #2 SMP Wed Jul 29 22:09:11 PDT 2020
The text was updated successfully, but these errors were encountered: