Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Error: DMTS_PublishDatasourceToClusterErrorCode



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. 



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


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.





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

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Dev Camp Session 22 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors
Top Kudoed Authors