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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

An error occurred during report data sets execution

(2) ShareShare
ReportReport
Posted on by

Hi,
I'm getting this error "An error occurred during report data sets execution" every time i run my custom RDP report. i restarted all my services and restored the Report's DS. I even ran the debugger but every time the ProcessReport method ends, i get this error, no line nor class is pinpointed by the debugger that might give me a clue as to what is wrong. 
Any Suggestions on how to resolve this?

*This post is locked for comments

I have the same question (0)
  • Sangram Shinde Profile Picture
    2,114 on at
    RE: An error occurred during report data sets execution

    Hi Sami,

    It seems there is some minor issue in either data or code, have you checked all the values you are passing to the all method calls in your DP class? may be somewhere it may require some different data and what your code passing is different, or any null value exception.

    Thanks,

    Sangram

  • Community Member Profile Picture
    on at
    RE: An error occurred during report data sets execution

    Hi Sangram,

    The code is parsed without any error. No exceptions or any stuff like that. It's quite weird. The debugger or Error logger doesn't prompt any error

  • Sangram Shinde Profile Picture
    2,114 on at
    RE: An error occurred during report data sets execution

    Ok, have you tried deleting report design from report server and deploying it again?

  • Community Member Profile Picture
    on at
    RE: An error occurred during report data sets execution

    i made an entirely new design and deleted the old one.

  • Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: An error occurred during report data sets execution

    This error can come in different situations like if division by zero happens in your data provider or some wrong code . Look at your expressions in the report design as well

  • Community Member Profile Picture
    on at
    RE: An error occurred during report data sets execution

    I've handled that case in my report. When i run the debugger, It parses the code without any error and then jumps into one of the system classes by the name of "Global.axce.xml" its after parsing through this class i get prompted with that error

  • Community Member Profile Picture
    on at
    RE: An error occurred during report data sets execution

    UPDATE:

    I deleted the temp table and made a new one and it resolved the issue. Thanks

  • Naysh Profile Picture
    on at
    RE: An error occurred during report data sets execution

    Which temp table, specifically?

  • Community Member Profile Picture
    on at
    RE: An error occurred during report data sets execution

    In my case it did not. I also created a new temp Table, but it didn't work out. It worked out for you, by just creating a new Table ?

  • Retha Profile Picture
    1,455 on at
    RE: An error occurred during report data sets execution

    I came across this link while searching for a solution:

    community.dynamics.com/.../error-an-error-occurred-during-report-data-sets-execution-in-d365-operations

    See if it helps. My case in the end was different. Me with sys admin rights were able to run the report but the end-user got the error mentioned in the title.  

    The problem was that I copied BankAccount field to my new temp-table of type TempDB.  One of the properties on this field is: AOS Authorization, and it was set to YES. I changed it to NO same as the other fields on the temp-table and then I was able to run the report as the end-user role without getting the error mentioned

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Community Member Profile Picture

Community Member 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans