如何延长AX入站转换的超时时间

时间:2011-10-04 12:50:06

标签: wcf axapta dynamics-ax-2009 microsoft-dynamics

我有一个.NET程序集在MS Dynamics AX 2012中的GeneralJournal导入文件上执行转换

我偶然会收到与超时相关的错误报告(看起来像是WCF错误)

我在端口设置中看不到配置任何超时设置的位置。

有人知道吗?

The request failed with the following error:  

This request operation sent to net.tcp://SERVERNAME/DynamicsAx/Services/GeneralJournalPayroll 
did not receive a reply within the configured timeout (00:05:00).  
The time allotted to this operation may have been a portion of a longer timeout.  

This may be because the service is still processing the operation or because the service 
was unable to send a reply message.  Please consider increasing the operation timeout 
(by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) 
and ensure that the service is able to connect to the client.

1 个答案:

答案 0 :(得分:1)

要编辑端口的WCF配置,请转到系统管理&gt;设置&gt; <服务和应用程序集成框架>入站端口。 选择您的端口 - 必须取消激活才能编辑配置。 然后点击配置&gt;转到Bindings&gt;设置超时值。