Forum Discussion

radoslavov91's avatar
radoslavov91
Regular Visitor
1 year ago
Solved

On-Prem connection not working

Hi All,

 

I need your help with a matter that i have and i cannot find a solution anywhere or don't know where to start from troubleshooting this.

 

We used to work with an external company that helped us develop a Power BI report, which takes data from Dynamics 365 and SAP Business Warehouse.

Since we are not working with that company anymore, it has been more than a year. report hasnt beein rreffreshed.

 

This is the lineage view

The refresh is failing with the following message:

 

These are the dataset settings:

and these are the Gateway and cloud connection settings

If i go to Manage Connections and Gateways in PBI server all connections are Online, but the SAP Business Warehouse is grayed out 

These are the settings for the on-prem gateway connection

 

I've also opened the datamodel and entered in the Transform data page just to check the BW query status, as expected all BW queries were failed with the same error message:

If i select the first step on any query i get this message:

 

These are all the details i can provide, i hope i didn't miss something.

I'm confuged now where the problem is, is in the the gateway because of the message : 

Data source error:{"error":{"code":"Premium_ASWL_Error","pbi.error":{"code":"Premium_ASWL_Error","parameters":{},"details":[{"code":"Premium_ASWL_Error_Details_Label","detail":{"type":1,"value":"Cloud data source refresh is not allowed in gateway setting."}}],"exceptionCulprit":1}}} Table: Customer.

Or it is the credential issues that i see in the Transform data view?

 

Any suggestions how to troubleshoot this?

I don't have directly access to the Gateway but i'm working with the local admins on that matter so if there are any steps that needs to be done locally (any changes or configurations) i can pass them to the lcoal team and see if they help with refreshing the dataset successfully.

  • you made the unfortunate decision to merge your on-prem and your cloud data sources in Power Query. That now requires the cloud data source to be refreshed through the gateway.  However your gateway configuration has that setting "Allow cloud data sources to be refreshed through this gateway"  switched off.

     

    Best advice would be to start over, without merging (instead using the data model joins), so that the cloud data source does not need the gateway.

5 Replies

  • The SAP BW refresh fails because the dataset isn’t correctly mapped to the On-premises Gateway. To fix it, map the dataset to the correct SAP BW data source in the gateway  and ensure server details and credentials match. If needed, update the connection in Power BI Desktop and re-publish the report.

  • you made the unfortunate decision to merge your on-prem and your cloud data sources in Power Query. That now requires the cloud data source to be refreshed through the gateway.  However your gateway configuration has that setting "Allow cloud data sources to be refreshed through this gateway"  switched off.

     

    Best advice would be to start over, without merging (instead using the data model joins), so that the cloud data source does not need the gateway.

  • v-sdhruv's avatar
    v-sdhruv
    Community Support

    Hi radoslavov91 ,

    Just wanted to check if you got a achance to review the suggestions provided and whether that helped you resolve your query?

  • v-sdhruv's avatar
    v-sdhruv
    Community Support

    Hi radoslavov91 ,

    Just wanted to check if you were able to resolve the issue?Did you get a chance to give it a try?

    It would be great if you could share an update on your progress or let me know about any challenges you’re encountering. 

    Thank you