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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MK97
Frequent Visitor

Error: DMTS_PublishDatasourceToClusterErrorCode

Hello,

 

We have 2 servers: Server A and Server B.

In Server A we have installed on premises gateway, in Server B we have all .xlsx and .pbix files. When I try to connect .xlsx files to gateway, I get this error: DMTS_PublishDatasourceToClusterErrorCode. 

MK97_0-1634129184020.png

 

I tried to change data source (.xlsx files) connection in PBI Desktop to \\servername\folder\file.xlsx, but I get this error

MK97_2-1634133029431.png

1 REPLY 1
v-angzheng-msft
Community Support
Community Support

Hi, @MK97 

 

According to the error message, the network file path is incorrect.

This may not be a power bi or credentials issue, please check if there is a firewall blocker. The gateway connection needs to be allowed.

 

refer:

https://community.powerbi.com/t5/Service/Error-Code-DMTS-PublishDatasourceToClusterErrorCode/m-p/117...

 

 

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.