C
C#8mo ago
Lukaa

Docker + Blazor + MSSQL handshake error

When I run dotnet ef database update I get the following error : Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught) I'm using WSL btw
5 Replies
Lukaa
LukaaOP8mo ago
ConnectionString :
"DefaultConnection": "Server=localhost,1433;Database=default;User=user;Password=p;Trusted_Connection=True;MultipleActiveResultSets=true;TrustServerCertificate=false"
"DefaultConnection": "Server=localhost,1433;Database=default;User=user;Password=p;Trusted_Connection=True;MultipleActiveResultSets=true;TrustServerCertificate=false"
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
Lukaa
LukaaOP8mo ago
No, setting it true results in Kerberos error Not much, not sure how to proceed Yea, now I set Encrypt=false and I get
Cannot authenticate using Kerberos. Ensure Kerberos has been initialized on the client with 'kinit' and a Service Principal Name has been registered for the SQL Server to allow Kerberos authentication.
Cannot authenticate using Kerberos. Ensure Kerberos has been initialized on the client with 'kinit' and a Service Principal Name has been registered for the SQL Server to allow Kerberos authentication.
deleting trusted_connection=true fixed it
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
Lukaa
LukaaOP8mo ago
Yes
Want results from more Discord servers?
Add your server