Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

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

Posted on by 95

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
    sstyer65 95 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
    Tim Wappat 5,701 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans