Hi everyone
I'm running a certain report in Ax 2012 R3 CU13, Vendor Invoice Transactions. When run for a short period, it works. When run for a long period, it doesn't - it runs longer and so times out.
The time out happens after 10 minutes exactly.
The timeout problem isn't on the report server itself. The site default timeout setting is 2 hours, and the report itself has a timeout setting of 30 minutes.
I found this article which seems more appropriate:
However, even though I've implemented these changes, the timeout still happens.
Here is other information:
- The reporting service is on a different server to the AOS
- The reporting service uses a default config file found on the AOS server
- The (main) error message in the log file on the report server is:
System.TimeoutException: 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.9531497. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> Microsoft.Dynamics.AX.Framework.Services.Client.QueryServiceException: The request channel timed out while waiting for a reply after 00:09:59.9531497. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The request channel timed out while waiting for a reply after 00:09:59.9531497. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The socket transfer timed out after 00:10:00. You have exceeded the timeout set on your binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.IO.IOException: The read operation failed, see inner exception. ---> System.TimeoutException: The socket transfer timed out after 00:10:00. You have exceeded the timeout set on your binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Things I've tried:
- Modified the timeout value in the config file (according to the article), and replaced the config file on the AOS server
- Modified the timeout value in the config file (according to the article), and placed it in the bin folder on the report server
- Modified all timeouts in the file to 1 minute to see if any of them have an effect on the report, but the same error occurs. Even though all timeouts are 1 minute, the report times out after 10
- Restarted the reporting service after each of these operations
- Tried the suggestions here: docs.microsoft.com/.../tips-to-help-prevent-long-running-reports-from-timing-out
What am I missing? Any help appreciated as always