SQL CONNECTION ERROR ASP.NET
im trying to connect my sql datas with asp but keep getting trust server certificate is not supported error
3 Replies
because it's not supported with that library, you can just remove that
or switch to Microsoft.Data.SqlClient which supports that option
its HIGHLY recommended to switch, the connection library you are using (
System.Data.SqlClient
) is outdated and bad.i removed trust server certificate and it worked
thanks guys