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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Error Message can't refresh

Hello

 

I have this issue when I want to refresh my database on Power BI Service :

==> I checked twice the path to find the file. Someoe could help me please ?

 

Erreur de source de données: {"error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","parameters":{},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"Impossible de trouver une partie du chemin d'accès 'Z:\\Bibliothèque\\Direction technique\\KPIs\\Fichiers sources KPI PowerBI\\Data KPI AVA\\Liste Administrateurs Compte.xlsx'."}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.ValueError.Detail","detail":{"type":1,"value":"Z:\\Bibliothèque\\Direction technique\\KPIs\\Fichiers sources KPI PowerBI\\Data KPI AVA\\Liste Administrateurs Compte.xlsx"}},{"code":"Microsoft.Data.Mashup.ValueError.Reason","detail":{"type":1,"value":"DataSource.Error"}}],"exceptionCulprit":1}}} Table: Dim Infos Administrateurs Compte.
URI du cluster: WABI-EUROPE-NORTH-B-redirect.analysis.windows.net
ID d'activité: b62cf7f9-14cd-4ff7-b640-1813f07be7d8
ID de demande: c56d429d-4075-d5e9-c13f-3360275ac6c6
Heure: 2023-11-10 14:34:21Z

1 REPLY 1
Bipin-Lala
Solution Sage
Solution Sage

​This is a common issue that I've helped many developers in our organization resolve when they're trying to connect to a local file on a corporate server.

​The Core Issue

​The error occurs because your Power BI report is looking for a file on Drive Z:. While that mapped drive exists on your personal machine or a specific on-premises server, the On-premises Data Gateway (the service handling the refresh) runs as a background service account. These service accounts operate in "Session 0" and cannot "see" or authenticate against mapped network drives like Z:.

​The Fix: Switch to UNC Paths

​To resolve this, you must change the file path in your Power BI Desktop file from a mapped letter (Z:\) to a UNC (Universal Naming Convention) path. This provides a direct network address that the Gateway can resolve.

​1. Identify the Server Name

​Instead of Z:\, you need the absolute server address:

  • ​Open Windows File Explorer.
  • ​Right-click on your Z: Drive.
  • ​Select Properties or look at the path in the address bar.
  • ​It should look something like: \\ServerName\SharedFolder\Development\...

​2. Update and Republish

  1. ​Open your .pbix file in Power BI Desktop.
  2. ​Go to Transform Data and update the Source step of your query with the new \\ServerName\... path.
  3. Republish the report to the Power BI Service.

​Once republished, the "Refresh" option will be able to communicate with the Gateway correctly.

 

Let me know how it goes.




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

Proud to be a Super User!


Regards,

Bipin Lala | Business Intelligence Developer



Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.