Showing results for 
Search instead for 
Did you mean: 

Unable to publish dataset to Service.

Hi Everyone. 

I have a dataset with backend source as Snowflake. I have prepared a dataset in import model. It was fine at desktop but when I am trying to publish to service, it is throwing me following error: 

" Unable to write data to the transport connection. An existing connection was closed by the remote host". 

I tried moving this to a PPU test workspace which we have been using from long time. 

I am not able to publish only to this workspace. I am able to publish to any other workspace except this one. Can some one help me out on this ??

Super User
Super User

Hi @Rajeshkumaryarl ,


I have faced a similar problem and the report I was publishing frequently after some changes, suddenly started throwing error while publishing. Few things I did:


1. Checked the internet connection and restarted it, we have login screen for that.

2. Closed the .pbix file and restarted and sign in again in the file after sign out

3. Relogin the gateway.


After that problem resolved. Please check.


Hope it helps!

Community Champion
Community Champion

Hello @Rajeshkumaryarl,


Here are a few steps you can try:

  1. Check your network connection: Ensure that your internet connection is stable and not experiencing any disruptions. If possible, try publishing from a different network or location to see if the issue persists.

  2. Verify Snowflake connectivity: Double-check the connectivity between Power BI and Snowflake. Make sure the Snowflake server is accessible and there are no firewall or network restrictions preventing the connection.

  3. Test with a smaller dataset: If your dataset is large, try creating a smaller test dataset to publish to the problematic workspace. This can help determine if the issue is related to the dataset size.

  4. Verify workspace permissions: Ensure that you have appropriate permissions and access rights in the workspace where you're trying to publish. Make sure you have the necessary permissions to publish datasets.

Let me know if you might require any further assistance.

Did I answer your question? Mark my post as a solution, this will help others!  

If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂

Kind Regards,
Sahir Maharaj
P.S. Want me to build your Power BI solution?
Data Scientist | Data Engineer | Data Analyst | AI Engineer

➤ Website:

➤ Email:

➤ Lets connect on LinkedIn: Join my network of 12K+ professionals

➤ Want me to build your Power BI solution? Lets chat about how I can assist!

➤ Join my Medium community of 30k readers! Sharing my knowledge about data science and artificial intelligence

Hi. Your suggestions did not help. The problem is I am not able to publish the dataset to one testing workspace but I am able to publish in other worksapces. I have tried your suggestions but it did not help. I do not have the flexibility of reducing the dataset size.  Thanks for your suggestions, any how. 

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors