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
mpmsltd
Helper I
Helper I

OLE DB or ODBC error: [DataSource.Error] OData: Unable to read data from the transport connection:

Hi, I'm trying to pull a sales documents table from Dynamics BC and keep getting the error:

 

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

 

Does anyone have an idea of how to deal with this error?

 

Thanks,
Mariana

1 REPLY 1
OliT
Resolver I
Resolver I

Hi @mpmsltd 

>> An existing connection was forcibly closed by the remote host..

You can refer to this article, Troubleshoot PostgreSQL: ‘An existing connection was forcibly closed by the remote host’ - Microsoft...

Let’s say a client application tries to execute a query using a previously opened connection object retrieved from a connection pool. When the application attempts to use the connection object, the connection has gone “stale” and the client application throws an exception from attempting to send query data over the “open” connection.  The client-side logic catches the exception and the TCP connection is closed. 

(Although you are using Dynamics, I think this article can be used for reference)

 

The only way to understand exactly what is causing the issue is to capture network trace at the client-side at the time when the issue occurrs. Network Traces can be captured by different applications such as NetMonWireSharkFiddler, etc.

 

Regards,

OliT

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.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.