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, ...
Suggested Answer

An exception of type MetdataException has occurred while performing the operation.

(0) ShareShare
ReportReport
Posted on by 142

Hi all,

I have a problem when I want to get an original preview in the sales order invoice and the error "An exception of type MetdataException has occurred while performing the operation" thrown.

I saw similar forum questions but none of them helps me.

I do Full CIL, restart AOS, restart SSRS, and clear cashe.

thanks.

I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Danial,

    The most likely cause for this is an incomplete relation defined in one of the tables. Please check if you have any incomplete relations in the CustInvoiceJour table.

  • Danial47 Profile Picture
    142 on at

    Thanks for your reply Gunjan,

    But I have checked all relations and no issues found.

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Danial,

    Are there any customizations on the report? If this is on a development environment, have you tried to refresh the dataset in VS and re-deploy the report?

  • Danial47 Profile Picture
    142 on at

    It's not a report

    it is a print invoice journal in sales order used ssrs mechanism.

    The exact address is: all sales order-->select invoiced so-->invoice tab-->invoice journal button-->original preview

    and I have no customization on it.

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Danial,

    It is an SSRS report - SalesInvoice. Please try re-deploying this report and try again.

    Also, is this happening for only one user or all users?

  • WillWU Profile Picture
    22,361 on at

    Hi Danial ddm,

    Please try:

    1> Refreshed all caches

    2> Deleted AUC files

    3> Refreshed Dataset from Visual Studio

    4> Re-dployed ssrs report from AX as well as Visual Studio

  • Danial47 Profile Picture
    142 on at

    I redeploy it again from VS and AOT but an error is thrown.

    Yes, for all users happened.

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
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans