RE: Error A timeout error occurred while calling the AOS service. Use the Microsoft Dynamics AX Configuration utility to change the WCF configuration values. Exception details: The request channel timed out while waiting for a reply after 00:09:59.9540
Hi Experts,
Please help me I tried below steps but no luck.
Follow these steps to configure server-side WCF settings. Complete these steps on the AOS server.
-
Open the Ax32Serv.exe.config file. This file is typically located at \Program Files\Microsoft Dynamics AX\<version>\Server\MicrosoftDynamicsAX\Bin.
-
Find the QueryServiceBinding element.
</system.diagnostics>
<system.serviceModel>
<bindings>
<netTcpBinding>
<binding name="QueryServiceBinding" sendTimeout="00:10:00" transferMode="StreamedResponse" maxBufferSize="65536" maxReceivedMessageSize="104857600" listenBacklog="200" maxConnections="200">
<readerQuotas maxStringContentLength="104857600" />
</binding>
-
The default value for the sendTimeout property on this element is 10 minutes. Increase the value for the sendTimeout property. For example, set the value to 30 minutes.
-
Save your changes.
Reporting Services communicates with the AOS to retrieve data. In this communication process, Reporting Services acts as the client, and the AOS acts as the server. Therefore, to configure client-side WCF settings, you must follow these steps on the server where Reporting Services is installed.
-
Create a new, local client configuration as explained in Manage a client configuration.
-
While the configuration utility is still open, click the Connection tab.
-
Click the Configure Services button.
-
A message is displayed that indicates that the configuration will no longer be updated automatically after a change is made to the server. Click OK.
-
A message may be displayed that indicates that you have to install the Windows SDK for Windows Server and the Microsoft .NET Framework version 4.0. In this case, download and install the Windows SDK for Windows Server and the .NET Framework version 4.0.
After you install the Windows SDK, connect to the client configuration that you created in step 1. Then repeat steps 2 and 3 to open the Microsoft Service Configuration Editor.
-
In the Configuration area, click Bindings > QueryServiceEndpoint (netTcpBinding).
-
On the Bindings tab, modify the following properties:
-
SendTimeout – By default, this property is set to 10 minutes. Increase the value. For example, set the value to 30 minutes.
-
MaxReceivedMessageSize – By default, this property is set to 2147483647. Increase the value. For example, if you want to double the value, set it to 4294967294. The maximum value that is allowed is Int64.MaxValue.
-
Click File > Save.