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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

An exception occurred in the query metadata execution. The exception is Map object not initialized IN AX 2012

(0) ShareShare
ReportReport
Posted on by 95

Hi experts,

I have an issue in LedgerJournalReport ( I want To get CompanyLogo In report ) there is no error in RDP Class. But when I referesh the Dataset it gives error in VS.

after refereshing the dataset when i open it in visual studion it gives an error 

Error 1 An exception occurred in the query metadata execution. The exception is Map object not initialized.

Stack trace

(S)\Classes\SrsReportProviderQueryBuilder\addTempDBCursorToQueryRun - line 18
(S)\Classes\SrsReportProviderQueryBuilder\getQueryRun - line 22
(S)\Jobs\
. LedgerJournal.Report [Preview] 0 0

please guide me how to resolve this error 

I have the same question (0)
  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi AXx,

    What kind of modifications have you made in RDP class? Did you just add a new field to the temp table and populate it from company info parameters?

  • AXx Profile Picture
    95 on at

    just add a new field to the tmpTable

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi AXx,

    Here are a couple of points you can try perform to resolve the issue:

    1. Can you compare with an unchanged report version that all parameters under dataset and report node are the same.

    2. Try to re-deploy the report

    3. Try to refresh report server cache (in ax developer workspace you can find it under Tools - Caches menu)

    4. Restart SSRS service

  • AXx Profile Picture
    95 on at

    I have tried all these things but no positive result

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi AXx,

    Do you run the report from code (there is a job line in stack trace)? Have you tried to run it through a menu item?

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 384 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans