A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
The solution is to put Encrypt=False in the connexionString...
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I use the new stack of development Android C# (not Xamarin). I have SQL Server 2019 and Visual Studio 2022.
During the connection to the server with ADO.NET (Microsoft.Data.SQLClient) I have this error :
A connection was succesfully established with the server, but then an orror occured during the pre-login handshake TCP provider error 35
I also had this error with the stack Console .NET 6, but I solve that with add of Trust Server Certificate=true in the connection string. This solution don't resolve my problem with the Android stack. I think the problème is when client and server are on different device...
I need solution for my students !!!
Thanks !!!
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
Additional SQL Server features and topics not covered by specific categories
Answer recommended by moderator
The solution is to put Encrypt=False in the connexionString...
On mobile apps, code can not override certificate trust. You can: