C
C#9mo ago
emir

SQL CONNECTION ERROR ASP.NET

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

Did you find this page helpful?