Error message (There was an error writing to the pipe: The pipe is being closed) occurs on eConnect for Microsoft Dynamics GP 2010
This article helps you resolve the problem that occurs when you use eConnect for Dynamics GP 2010 or the eConnect destination adapter in Integration Manager.
Applies to: Microsoft Dynamics GP
Original KB number: 2539263
Symptoms
You may receive the following error message intermittently when you use eConnect for Dynamics GP 2010 or the eConnect destination adapter in Integration Manager:
There was an error writing to the pipe: The pipe is being closed.
Cause
The eConnect for Microsoft Dynamics GP 2010 Integration Service is a WCF service. A connection can remain inactive, during which no application messages are received, before it is dropped after 10 minutes. This is by default.
Resolution
Add receiveTimeout="infinite" to the Microsoft.Dynamics.GP.eConnect.Service.exe.config file for the eConnect Integration service. The binding section should resemble this:
<binding name="eConnectNamedPipeConfig" closeTimeout="00:10:00" sendTimeout="00:10:00" receiveTimeout ="infinite" transferMode="Buffered" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"><readerQuotas maxDepth="60" maxStringContentLength="2147483647"maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /><security mode="Transport"><transport protectionLevel="EncryptAndSign" /></security>
</binding>
More information
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for