Connect to Database: A Connection was successfully established with the server, but then an error occurred during the login process.(provider:SSL Provider, error:0- The certificate chain was issued by an authority that is not trusted)

I upgraded/converted the code from windows legacy to windows and after that ‘connect Database’ activity was not working. I then changed the provider name to ‘Microsoft.Data.SqlClient’.
I also checked manage packages for UiPath.Database.Activites and its in version 1.7.1.

Help me to solve this issue.



Can you test connection once in the Connection wizard after you have upgraded?


I tried and got the same error

Can you share your connection string, try changing your connection string properties, maybe thats not valid, Also, try restarting your SQL service.


I restarted both SQL and UiPath and it worked