2

I get the error message displayed in Power BI Online when using an enterprise gateway connected to an on-premise SQL Server

Unable to connect: We encountered an error while trying to connect.

Details: Microsoft SQL: A connection was successfully established with the server, but then an error occurred during the login process. (provider: ssl provider, error: 0 - The signature of the certificate cannot be verified)

I have the Login credentials (SysAdmin) on server.

What is the cause of getting Login error? Any suggestions and resolution steps?

0

2 Answers 2

4

I found resolution for this error:

By default, the Encrypt connection check box is selected to signify that Power BI Desktop connects to database using an encrypted connection. If a connection to your SQL Server is not established using an encrypted connection, that Power BI Desktop prompts to connect using an unencrypted connection.

Once you click OK, it will be directly prompted to turn off encryption. Or you can go to

File->Options and Settings -> Data Source Settings, choose your SQL Server data source and select Edit and uncheck "Encrypt Connections" option.

In addition, when we connect to SQL Server in Power BI Desktop, need to select the authentication mode to connect to the SQL Server database.  

1) Windows: This is the default selection. Select this if you want to connect using Windows authentication.  

2) Database: Select this if you want to connect using SQL Server authentication. After you select this, specify a user name and password to connect to your SQL Server instance.

Note: I know it's foolish and so simple but works for me anyway @sepupic Thanks for useful comment.

1

Go to File > Options and Settings > Data Source Settings > (select your data source) > Edit Permissions > Edit > Database, and enter here your User name and Password

enter image description here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.