Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Error on refresh using gateway to connect to SQL server

Hi,

 

So I can't refresh a published dataset in the service when using the enterprise gateway.

If someone can help me on this problem, i'll be eternally grateful!

 

So first, the error: 

Error refresh.PNG

 

 

 

 

 

 

 

Accesing/refreshing the database in power BI desktop using a VPN works fine but not using the gateway.

 

Settings: 

  • Gateway is up and running
  • Using the same credentials & servername in both services/desktop
  • Using basic authentification for SQL database acces
  • privacy settings set on organisational in both services/desktop
  • Gateway is installed on the same location as the server

 

Data settings in power BI desktop.PNGGateway connection.PNG

 

 

Setting gateway.PNG

 

Thanks in advance!

5 REPLIES 5
GilbertQ
Super User
Super User

What happens if you try and access the SQL Server on the Gateway Server with the same Server Name and Basic authentication?

Just to rule out that the issue is with the gateway not being able to connect to the SQL Server?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Anonymous
Not applicable

Thanks for the suggestion! 

 

I received the following error: 

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 received certificate has expired.)

Hi @Anonymous ,

 

Please check if your certificate for sql server has expired in your SQL SERVER Configuration manger:

 

Capture.PNG

 

If it has expired, you can try to choose other certificate or extension certificate or just use Self-signed certificate for sql server.

 

As a workaround,  using an unencrypted connection.  File->Options and Settings -> Data Source Settings, choose your SQL Server data source and select Edit and uncheck "Encrypt Connections" option.

Capture1.PNG

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

 

Anonymous
Not applicable

Hi @v-deddai1-msft ,

 

Thanks for the suggestion, however, I was already using an unencrypted connection aka "Encrypt Connections" was already unchecked. I am still awaiting responds from the IT person I'm working with regarding the "The received certificate has expired"-error.

 

I'll be sure to add the solution to this post once I finally get the answer.

 

Kinds regards,

Benjamin

Hi there

Could you make sure that the date and time is correct on your server?

I would then investigate why there is the error of certificate expired.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors