Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

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

(0) ShareShare
ReportReport
Posted on by 1,930

Hi Experts,

I am trying to add an image in existing SSRS report but getting error while trying to open design( Error    1    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.9540534. 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.    HCSSalesInvoiceReport.StanleyReport [Preview]    0    0    )


2860.3.jpg

5684.4.jpg

64483.5.jpg

*This post is locked for comments

  • faiz7049 Profile Picture
    faiz7049 1,930 on at
    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.

    Configure the server-side settings

    Follow these steps to configure server-side WCF settings. Complete these steps on the AOS server.

    1. Open the Ax32Serv.exe.config file. This file is typically located at \Program Files\Microsoft Dynamics AX\<version>\Server\MicrosoftDynamicsAX\Bin.

    2. Find the QueryServiceBinding element.

      Copy
      </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>
      
    3. 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.

    4. Save your changes.

    Configure the client-side settings

    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.

    1. Create a new, local client configuration as explained in Manage a client configuration.

    2. While the configuration utility is still open, click the Connection tab.

    3. Click the Configure Services button.

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

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

    6. In the Configuration area, click Bindings > QueryServiceEndpoint (netTcpBinding).

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

    8. Click File > Save.

  • faiz7049 Profile Picture
    faiz7049 1,930 on at
    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

    As given below screen shot .wcf service setting not open directly to svrconfigeditor.exe. How to change SendTimeout value on the Binding.

    4034.6.jpg

  • faiz7049 Profile Picture
    faiz7049 1,930 on at
    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 Udhaya,

    I am not able to change .wcf service setting because my machine have windows server 2012 r2.

    svcconfigeditor.exe not open automatically when I click configure service.

  • faiz7049 Profile Picture
    faiz7049 1,930 on at
    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

    Successfully refreshed.

  • faiz7049 Profile Picture
    faiz7049 1,930 on at
    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 Ievgen,

    I could open other project design in Visual Studio except this.

    Please help me. I Just want to add an image in this report.

  • Blue Wang Profile Picture
    Blue Wang on at
    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 Faiz7049,

    Please refer to Microsoft DOCS:

    https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/troubleshooting-report-definition-issues

    https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/tips-to-help-prevent-long-running-reports-from-timing-out

    I hope it will help you.

  • Mea_ Profile Picture
    Mea_ 60,278 on at
    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

    And what happens if you try to refresh it in the config ?

  • udaY-ch Profile Picture
    udaY-ch 4,624 on at
    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,

    Take a look at the similar post community.dynamics.com/.../308000

    /Uday.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans