A connection was successfully established with the server, but then an error occurred during the pre-login handshake

前端 未结 24 3023
無奈伤痛
無奈伤痛 2020-11-27 03:37

I am getting following error when i am trying to connect Production DB from Local Environment.

I was able to connect Production DB before, but suddenly i am getting f

24条回答
  •  一生所求
    2020-11-27 04:06

    In my case this error occurred with dot net core and Microsoft.Data.SqlClient. The solution was to add ;TrustServerCertificate=true to the end of the connection string.

提交回复
热议问题