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
jmangles
New Member

Unable to Publish from Desktop to Web: Unable to write data to the transport connection

Hello,

 

I have followed the steps in the following posts, but am still unable to publish some reports

https://community.powerbi.com/t5/Issues/Bug-quot-Unable-to-write-data-to-the-transport-connection-An...

https://community.powerbi.com/t5/Desktop/Issue-with-Publishing-PBIX-File/m-p/68513

 

My experience with the error has been as follows:

1. When I open reports in PBI Desktop I am able to refresh them fine, but when I use the publish button I receive the error "An error occured while attempting to publish (report): Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host."

2. When following solutions in the above two posts I experience

 a. I have updated and rolled back PBI trying serveral different versions, all with the same error

 b. When trying to publish the same report to my personal workspace, I receive the same error

 c. When I create a new report I am able to publish that to PBI Web, and I see the new test report appear in the workspace

 d. Others at my company are able to publish the same file to the same workspace, so the error is not with the size of the file or any other of its properties

 

Any other advice on things I can try would be greatly appreciated

1 ACCEPTED SOLUTION
jmangles
New Member

I solved the problem. The issue was not with power bi, but the postgres database permissions. I had permission to create/access for the tables used in the report, but not for the schema the tables were held in. I used the GRANT command to grant myself permissions. The permissions I needed was USAGE, SELECT I think, but the documentation is here

https://www.postgresql.org/docs/current/sql-grant.html

View solution in original post

4 REPLIES 4
jmangles
New Member

I solved the problem. The issue was not with power bi, but the postgres database permissions. I had permission to create/access for the tables used in the report, but not for the schema the tables were held in. I used the GRANT command to grant myself permissions. The permissions I needed was USAGE, SELECT I think, but the documentation is here

https://www.postgresql.org/docs/current/sql-grant.html

PijushRoy
Super User
Super User

@jmangles 

Please delete existing dataset from power bi service and publish (before delete you need to remove from app).

The issue is for data source, please check your data source connect between two version and credential.

If solve your problem, mark as SOLUTION.




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





I receive this error if I try to publish a new report, even if there is not an existing report to delete

amitchandak
Super User
Super User

@jmangles , refer to this latest issue

https://community.powerbi.com/t5/Issues/Cannot-Publish-Power-BI-report-to-Workspace-says-Report-was/...

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors
Top Kudoed Authors