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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.