web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

SSRS Report Execution timeout issue (The wait operation timed out)

(1) ShareShare
ReportReport
Posted on by 8

Hi there,

I have a SSRS report and i have followed all best practices like

  1. I have Extended My DP class with SrsReportDataProviderPreProcessTempDB.

  2. My Report table Type is TempDB

  3. I have created Controller Class and call my report through this class

  4. I have Updated the properties of menu item , Object Type  Class , Object controller class name 

  5. Set the User Connection on the temp table . For this write this code on the start of your processReport method

 

I am not getting any error on OneBox machine but i am getting timeout and different server errors on UAT and Production environments. We are using on prem Microsoft dynamics 365 Finance and Operation version 10.0.38 (10.0.1777.94).

I am getting following different errors.

 

1. The wait operation timed out

2. An existing connection was forcibly closed by the remote host

 

 

Image (1).jpeg
  • Suggested answer
    Waed Ayyad Profile Picture
    9,222 Super User 2026 Season 2 on at
    Hi,
     
    Did you try to enhance the query of the code?
    Suggestion: Instead of using insert try to use RecordInsertList and insertDatabase.
     
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
     
     
  • Jonas "Jones" Melgaard Profile Picture
    5,017 Most Valuable Professional on at

    Hmm... If it’s using the pre-processing pattern, I have a hard time seeing how it can time out unless there are some really funky things going on in the RDL or if an SQL execution plan in TEST/PROD got screwed up.

    My old AX checklist includes manually deleting the report from the SSRS manager and deploying it again. That’s what I’d try first.

    I wonder if there’s an issue with the SSRS server itself.

    • Can you see any high CPU or memory loads on the server when the report is being generated?
    • Do you have issues with other reports?
    • Can you see anything in the SSRS logs? SSRS Logs Documentation
    • Is this the only report with issues?

    You should be able to see how long it spends in the data provider in the logs.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 536 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 363 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 188

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans