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
Anonymous
Not applicable

unable to write data to the transport connection an existing connection was forcibly closed

Hello

 

I am making my way through the EdX Power BI course but have hit an obstacle in that I can't publish anything to Power BI Service.

 

I always get "unable to write data to the transport connection an existing connection was forcibly closed".

 

I have tried a few different files, all of which were tiny so no size issues. I can log into Power BI Service online fine.

 

I've enabled tracing and get a very long traces file which is too long to post in the message here so this is the first bit. Any idea what it means?

 

DataMashup.Trace Information: 24579 : {"Start":"2016-09-19T08:21:14.2108407Z","Action":"SharedLocalStorageAccessor/AcquireMutex","ProductVersion":"2.38.4491.282 (PBIDesktop)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"PBIDesktop","Pid":2788,"Tid":1,"Duration":"00:00:00.0000384"}
DataMashup.Trace Information: 24579 : {"Start":"2016-09-19T08:21:14.2104464Z","Action":"BackgroundThread/RollingTraceWriter/CleanupOldTraces","ProductVersion":"2.38.4491.282 (PBIDesktop)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"PBIDesktop","Pid":2788,"Tid":35,"Duration":"00:00:00.0009645"}
DataMashup.Trace Information: 24579 : {"Start":"2016-09-19T08:21:14.2107901Z","Action":"UISettingsStorage/GetSettings","MetadataSet":[["ShowStartPageForDataInsightsSummit2016","0"],["FileHistory",939],["PowerBIServiceFileHistory",2],["SSRSFileHistory",2],["showStartPage","1"],["MultiArtifactEditorWindowScale_Left","100"],["MultiArtifactEditorWindowScale_Top","100"],["MultiArtifactEditorWindowScale_Width","1720"],["MultiArtifactEditorWindowScale_Height","1020"],["MultiArtifactEditorWindowScale_Maximized","1"],["multiArtifactEditorRibbonQat",444],["FormulaBuilderHistory",1411],["DisplayCommandBar","0"],["EditorTaskPaneWidth","266"],["QueriesEditorWindowScale_Left","89"],["QueriesEditorWindowScale_Top","89"],["QueriesEditorWindowScale_Width","1742"],["QueriesEditorWindowScale_Height","1087"],["QueriesEditorWindowScale_Maximized","0"],["multiArtifactQueriesEditorRibbonQat",326],["MaxCacheSize","4294967296"],["DisplayFormulaBar","0"],["UseFixedWidthFont","0"],["AlwaysAllowParameterization","0"],["ShowImportCustomVisualSecurityWarningDialog","1"],["DisableNativeDbQueries","0"],["RequireWebPreviewApproval","1"],["DisableUpdateNotification","0"],["DisplayQuerySettingsPane","0"]],"ProductVersion":"2.38.4491.282 (PBIDesktop)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"PBIDesktop","Pid":2788,"Tid":1,"Duration":"00:00:00.0020154"}
DataMashup.Trace Information: 24579 : {"Start":"2016-09-19T08:21:14.2130142Z","Action":"SharedLocalStorageAccessor/AcquireMutex","ProductVersion":"2.38.4491.282 (PBIDesktop)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"PBIDesktop","Pid":2788,"Tid":1,"Duration":"00:00:00.0000352"}
DataMashup.Trace Information: 24579 : {"Start":"2016-09-19T08:21:14.2129892Z","Action":"UISettingsStorage/GetSettings","MetadataSet":[["ShowStartPageForDataInsightsSummit2016","0"],["FileHistory",939],["PowerBIServiceFileHistory",2],["SSRSFileHistory",2],["showStartPage","1"],["MultiArtifactEditorWindowScale_Left","100"],["MultiArtifactEditorWindowScale_Top","100"],["MultiArtifactEditorWindowScale_Width","1720"],["MultiArtifactEditorWindowScale_Height","1020"],["MultiArtifactEditorWindowScale_Maximized","1"],["multiArtifactEditorRibbonQat",444],["FormulaBuilderHistory",1411],["DisplayCommandBar","0"],["EditorTaskPaneWidth","266"],["QueriesEditorWindowScale_Left","89"],["QueriesEditorWindowScale_Top","89"],["QueriesEditorWindowScale_Width","1742"],["QueriesEditorWindowScale_Height","1087"],["QueriesEditorWindowScale_Maximized","0"],["multiArtifactQueriesEditorRibbonQat",326],["MaxCacheSize","4294967296"],["DisplayFormulaBar","0"],["UseFixedWidthFont","0"],["AlwaysAllowParameterization","0"],["ShowImportCustomVisualSecurityWarningDialog","1"],["DisableNativeDbQueries","0"],["RequireWebPreviewApproval","1"],["DisableUpdateNotification","0"],["DisplayQuerySettingsPane","0"]],"ProductVersion":"2.38.4491.282 (PBIDesktop)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"PBIDesktop","Pid":2788,"Tid":1,"Duration":"00:00:00.0002528"}

1 REPLY 1
v-micsh-msft
Microsoft Employee
Microsoft Employee

Hi elegreen,

What is your current situation?

The error message you posted is not helpful enough to explain the situation. By the way, what is your data source, and could you please share more details about the status when this error popped out?

Please take a try to close all Power BI Desktop instances, delete the old dataset and then publish it again.

Also a similar thread for reference:

Issue with Publishing PBIX File

In addition to the tracing under Power BI desktop, please also take a network trace with Fiddler or F12 developer tool:

Fiddler Web Debugger Tool

Capturing additional diagnostic information for Power BI

You may upload the trace file into OneDrive or other online file service, then post back the shared link here. We will help to take a further look.

Regards

 

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