C
C#7mo 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
Jimmacle7mo 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
Pobiega7mo ago
its HIGHLY recommended to switch, the connection library you are using (System.Data.SqlClient) is outdated and bad.
emir
emirOP7mo ago
i removed trust server certificate and it worked thanks guys
Want results from more Discord servers?
Add your server