I have multiple API projects and I can them successfully. But the WorkerService API project throws the following warning:
Microsoft.Data.SqlClient.SqlException (0x80131904): 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.)
My connection string:
"data source=server ;initial catalog=ECOMDB;persist security info=True;user id=****;password=****;MultipleActiveResultSets=True;App=EntityFramework;"
I have seen this post, but it did not solve my issue: "The certificate chain was issued by an authority that is not trusted" when connecting DB in VM Role from Azure website