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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
ZiyadSyauqi
Frequent Visitor

Power BI Data Refresh Error - TCP Provider Error 0

Hello everyone,

I'm encountering an issue while trying to refresh a Power BI dataset connected to a SQL Server. The error message is as follows:

WhatsApp Image 2024-06-20 at 16.33.06.jpeg

```

OLE DB or ODBC error: [DataSource.Error] Microsoft SQL: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.). An unexpected exception occurred.

```

 

Additionally, using another data tables (with only 1000 rows for testing my connection) from the same connection the SQL Server log shows:

WhatsApp Image 2024-06-20 at 16.33.41.jpeg

```

Msg 10054, Level 20, State 0, Line 0 A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
Completion time: 2024-06-20T16:05:08.0488957+07:00

```

 

I am only trying to load 1000 rows, so the query complexity shouldn't be an issue (CMIIW). Has anyone experienced a similar issue or can provide any guidance on resolving this?

Thank you!

note : I am using "Import Connection" to the database

3 REPLIES 3
ZiyadSyauqi
Frequent Visitor

Additional information from @Idrissshatila 

 

this is the query editor information:

ZiyadSyauqi_0-1718937234002.png

the information on Mquery editor :

```

= xxx{[Schema="yyy",
Item="zzz"]} [Data]

```

 

The error message info:

```

DataSource.Error: Microsoft SQL: A transport-level error has occurred when receiving results from the server.
(provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
Details:
DataSourceKind=SQL
DataSourcePath=xxx.net;xxx
Message=A transport-level error has occurred when receiving results from the server. (provider: TCP
Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
ErrorCode =- 2146232060
Number=10054

```

 

thanks

Idrissshatila
Super User
Super User

Hello @ZiyadSyauqi ,

 

go into power query on this table and check the error there, it will lead you to the error .



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




it shows error as follows:

 

ZiyadSyauqi_1-1718961057230.png

 

any idea?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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