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
GellaiTamas
Helper I
Helper I

Data source access fails by a data gateway

Hi everyone,

 

Before explaining the issue, please let me tell what I'm working on and what is the current system setup looks like.

 

I'd like to create Power BI reports from an SQL database and embed the visuals into a Sharepoint page.

 

1. I have an SQL Server database on a VM within my company. 

2. An On-Premise Data Gateway is installed on this VM and I can reach the required data with Power BI Desktop (I'm using DirectQuery connection)

3. This part is working well, if I add new records to the database, the reports in the desktop versions get updated.

+ I subscribed to the trial version of Power BI Pro.

 

Problem comes when I try to publish the desktop report to powerbi.com so that I can then embed it into Sharepoint.

Power BI Desktop says after clicking on Publish:

 

publishing succeeded.JPG

 

Although I have the necessary gateway set up:

 

gateway ok.JPG

 

I can actually see the report online but like this:

 

cannot be accessed.JPG 

 

Any suggestions how to tackle this?

 

Cheers,

Tamás

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

@GellaiTamas,

Based on your screenshots, you haven't added the SQL Server database within the gateway. Please follow the instructions in this article to add your SQL data source under the gateway.

Regards,

Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-yuezhe-msft
Employee
Employee

@GellaiTamas,

Based on your screenshots, you haven't added the SQL Server database within the gateway. Please follow the instructions in this article to add your SQL data source under the gateway.

Regards,

Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you very much, @v-yuezhe-msft, it works now. I've tried this before but kept getting error messages. Now I know why: I'm working from home and remote access gateway was not set up... 

@GellaiTamas First check, make sure the connection strings match exactly. Second, you can check the gateway log files to see if there is a more specific error in them. Here is a link to the troubleshooting guide.

 

Installer logs

%localappdata%\Temp\On-premises_data_gateway_*.log

Configuration logs

%localappdata%\Microsoft\on-premises data gateway\GatewayConfigurator*.log

On-premises data gateway service logs

C:\Users\PBIEgwService\AppData\Local\Microsoft\on-premises data gateway\Gateway*.log

Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Thanks, @Seth_C_Bauer, very useful info!

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