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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Palomar
New Member

Couldn't publish to Power BI: An Exixting Connection was forcibly closed by remote host?

When I try to publish my BI report, I get the following message:

 

Couldn't publish to Power BI:

 

An error occurred while attempting to publish 'myfile.pbix":

Unable to write data to the transport connection: An existing

connection was forcibly closed by the remote host.

 

 

Does anyone have a solution or work-around for this error?

5 REPLIES 5
RaoMohsin6054
Regular Visitor

Power BI Desktop to the latest version and adjust parallel loading settings to prevent simultaneous execution of multiple queries, ensuring a successful report refresh. However, this may lead to a longer refresh time compared to parallel processing.

Read article: https://medium.com/microsoft-power-bi/resolving-unable-to-read-data-from-the-transport-connection-er...

v-yangliu-msft
Community Support
Community Support

Hi  @Palomar ,

 

You may consider this limitations:

  1. Too large data model may be a reason for your scenario, maybe you can try to cut down you data size and try again.
  2. It could be the power bi server problem that you failed published.
  3. You can update the Power BI desktop to the latest version then publish again.
  4. You can Go to Power BI service, Get Data-> Files to get pbix files, this has the same effect as publish from desktop.
  5. If above methods are not working, please run Fiddler with Decrypt Https traffic enabled and repeat publish steps to reproduce the issue and post the related message for fur discussion.

In addition, you can also take a look at following link who faced similar issue:

Solved: Re: Issue with Publishing PBIX File - Microsoft Power BI Community

Couldn't publish to Power BI - Microsoft Power BI Community

Connection was forcibly closed by the remote host - Microsoft Power BI Community

 

Best Regards,

Liu Yang

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

Greg_Deckler
Super User
Super User

@Palomar Are you up-to-date with your version of the Desktop?

Solved: An error occured while attempting to publish. The ... - Microsoft Power BI Community


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

This is my version:
2.108.997.0 64-bit (August 2022)

@Palomar OK, couple more questions. Are you using any custom connectors? Also, how big is your file?

 

You could check the Issues forum here:

https://community.powerbi.com/t5/Issues/idb-p/Issues

And if it is not there, then you could post it.

If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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