Microsoft Dynamics GP 2010 の eConnect でエラー メッセージ (パイプへの書き込みエラーが発生しました: パイプが閉じられています) が発生しました

この記事は、統合マネージャーで eConnect for Dynamics GP 2010 または eConnect 宛先アダプターを使用するときに発生する問題を解決するのに役立ちます。

適用対象: Microsoft Dynamics GP
元の KB 番号: 2539263

現象

Integration Manager で eConnect for Dynamics GP 2010 または eConnect 宛先アダプターを使用すると、次のエラー メッセージが断続的に表示されることがあります。

パイプへの書き込み中にエラーが発生しました。パイプが閉じられています。

原因

eConnect for Microsoft Dynamics GP 2010 Integration Service は WCF サービスです。 接続は非アクティブのままであり、その間、アプリケーション メッセージは受信されません。その間、10 分後に切断されます。 これが既定の構成です。

解決方法

eConnect 統合サービスの Microsoft.Dynamics.GP.eConnect.Service.exe.config ファイルに receiveTimeout="infinite" を追加します。 バインド セクションは次のようになります。

<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>

詳細

Binding.ReceiveTimeout プロパティ