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
swaroopjk
Frequent Visitor

ODBC error

OLE DB or ODBC error: [DataSource.Error] Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host

 

I get this error when i do changes in transform data / query editor and apply the changes. I have tried to put a timeout value to 40 but no success. 

 

Please help.

5 REPLIES 5
mh2587
Super User
Super User

Please upload the complete screenshot of the error


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



All -

 

The issue still persists. I have disabled the table which was getting data from a database and fater making chages and when I cloe and apply it i see the below error:

 

OLE DB or ODBC error: [DataSource.Error] Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..

 

All the .csv & .xlsx files sourcing the dashabord are stored in sharepoint.

 

One of the article on the internet suggested to change the text encoding format to 65001 or utf-8. I have tried both and it did not work.

 

Any help here?

 

Regards

Swaroop Kulkarni

+91 9820615201

v-yiruan-msft
Community Support
Community Support

Hi @swaroopjk ,

What data source are you connecting to? Could you please share the applied steps in your Advanced Editor in order to make troubleshooting? And could you please also explain which step you are applying to get that error message?

yingyinr_0-1631864661173.png

There are two similar cases below, please check the solutions given there. Hope it can help you solve the problem too.

OLE DB or ODBC error: [DataSource.Error]

However, I did a workaround on it. My query was merged with another table and that seems to be causing the error. Hence, instead of using merge, I did a LOOKUPVALUE function in the table instead to get the columns I needed and that seems to work out just fine. Not sure why the merge would cause the error, but LOOKUPVALUE was the only workaround I could think of.

Unable to read data from the transport connection (check the post from Adescrit on 07-15-2019)

Best Regards

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

@v-yiruan-msft : I do have queries merging but i remeber this worked a while back:

 

swaroopjk_0-1631874536665.png

 

@v-yiruan-msft @mh2587 

 

Below is the error:

 

swaroopjk_0-1631877828596.jpeg

 

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!

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.