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.

Thanks

Hi,

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

Thanks.

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.

Thanks.

I restarted both SQL and UiPath and it worked