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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Error in setting up the gateway for Excel file

Hi, I am trying to set up a gateway for a file at my local computer. I always get an error " Unable to connect. We encountered an error while trying to connect". I have made sure my gateway is up and running and also the path of the excel file is same as for gateway and desktop. Please help

6 REPLIES 6
GilbertQ
Super User
Super User

Hi there

When you say it has the same path, is the Gateway installed on the same PC/Server as where the file is?





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

Proud to be a Super User!







Power BI Blog

Anonymous
Not applicable

It is on the same PC

Make sure that the Power BI Gateway Service has got access to the file where it is stored?




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

Proud to be a Super User!







Power BI Blog

Anonymous
Not applicable

It does have access to the file

dax
Community Support
Community Support

Hi mloyalka, 

You need to make sure you have permission to access the file , and the path should be like below

\\(servername)\Users\<Pfolder>\<child folder>\<child folder>\excel.xlsx. By the way, you also could provide the detailed error information, then I will help you more correctly.

Best Regards,
Zoe Zhi

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

Then it should be able to connect to the file?




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

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.