Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

There was an error reading from the pipe: The pipe has been ended

(0) ShareShare
ReportReport
Posted on by 105

I keep getting the following error, when trying to pull in a large PO into our system.

I've seen this error posted elsewhere... but, don't see an actual solution for this.

Sometimes... when I rerun the same integration, it will go thru.

so, that tells me that it's not Data.

I need to resolve this ASAP

Opening source query...
Establishing source record count...
Beginning integration...
DOC 1 ERROR: System.IO.IOException: The read operation failed, see inner exception. ---> System.ServiceModel.CommunicationException:
There was an error reading from the pipe: The pipe has been ended. (109, 0x6d). --->
System.IO.PipeException: There was an error reading from the pipe: The pipe has been ended. (109, 0x6d).
at System.ServiceModel.Channels.PipeConnection.FinishSyncRead(Boolean traceExceptionsAsErrors)
at System.ServiceModel.Channels.PipeConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.PipeConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at System.ServiceModel.Channels.DelegatingConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security.NegotiateStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
--- End of inner exception stack trace ---
at System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
Integration Complete -- Partial Success
Integration Results
2 documents were read from the source query.
2 documents were attempted:
1 integrated without warnings.
0 integrated with warnings.
1 failed to integrate.

*This post is locked for comments

  • sstyer65 Profile Picture
    105 on at
    RE: There was an error reading from the pipe: The pipe has been ended

    this is basically the same issue that you had replied to here

    community.dynamics.com/.../integration-manager-with-econnect

    and... it doesn't look like it was fully answered.    I'm running integration manager on the server.   Trying to pull in a Large PO.   If I run it multiple times... it eventually goes in.    I've tried to alter the timeout... (saw that in another posting)   and, a different error happens.  

  • Tim Wappat Profile Picture
    5,703 on at
    RE: There was an error reading from the pipe: The pipe has been ended

    Sounds like your pipe is timing out in WCF.

    In your config file update the WCF section of your config to increase the NamedPipeConnectionPoolSettings IdleTimeout for the connection.

    (You don't mention what the application is that is timing out.)

    There are other settings you could play with - search up on WCF pipe config and timeout and read up on your options.

    Tim.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans