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.

  • Danial47 Profile Picture
    142 on at
    RE: An exception of type MetdataException has occurred while performing the operation.

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

    Yes, for all users happened.

  • WillWU Profile Picture
    22,352 on at
    RE: An exception of type MetdataException has occurred while performing the operation.

    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

  • Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: An exception of type MetdataException has occurred while performing the operation.

    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?

  • Danial47 Profile Picture
    142 on at
    RE: An exception of type MetdataException has occurred while performing the operation.

    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,421 on at
    RE: An exception of type MetdataException has occurred while performing the operation.

    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
    RE: An exception of type MetdataException has occurred while performing the operation.

    Thanks for your reply Gunjan,

    But I have checked all relations and no issues found.

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: An exception of type MetdataException has occurred while performing the operation.

    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,017 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans