Closed andreyshiryaev closed 1 year ago
Hi @andreyshiryaev!
The problem your are facing is due to a breaking change in SqlClient 4 and we have covered it in our doc.
https://github.com/serilog-mssql/serilog-sinks-mssqlserver#release-600
Of course we always recommend proper encryption with a valid server cert but there is a also workaround if this is not possible.
Best regards, Christian
Hi, I try to use Serilog.Sinks.MSSqlServer in .NET 6 and after adding the code below my project has the error
Unable to create database movies due to following error: Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0
When I delete Serilog.Sinks.MSSqlServer my project works fine and I have a correct database connection
As soon as I am adding Serilog.Sinks.MSSqlServer my project does not work even without using WriteTo.MSSqlServer(
I have
[ ] .NET 6