最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

Warehouse Mobile Device Portal (WMDP) timeout

网络文摘 William 2246浏览 0评论
Hello, If you see the following error message when using the Warehouse Mobile Device Portal: “Sorry, an error occurred while processing your request. Please retry your request or contact your system administrator”, you should first check the application log of the IIS server’s event viewer. If you are running into a timeout issue, you will see something like: Exception information: Exception type: TimeoutException Exception message: This request operation sent to net.tcp://localhost:8201/DynamicsAx/Services/WHSMobileDevicesServices did not receive a reply within the configured timeout (00:01: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. This is not a good sign, and you will probably want to understand first why the call to the WHSMobileDevicesServices is taking too long, and tackle the root cause of the problem. But let’s assume you need to change this 1-minute timeout for good reasons. To do so, you can follow these steps:
  1. Open IIS Manager
  2. Select web site “Dynamics AX WMDP DEFAULT”
  3. Click Actions > Explore
  4. Windows Explorer will open, and take you, by default, to: C:\Program Files (x86)\Microsoft Dynamics AX\60\Warehouse Mobile Devices Portal0
  5. Edit the web.config file in the following way (elevated permissions are required):
    … <system.serviceModel> <bindings> <netTcpBinding> <binding name=”NetTcpBinding_WHSMobileDevicesService” sendTimeout=”00:10:00″ /> </netTcpBinding> </bindings> …
The default send timeout value (no value) is 1 minute, in this example we are changing it to 10 minutes. Don’t forget to restart the “Dynamics AX WMDP DEFAULT” web site.   I hope this is helpful! Bertrand
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址