Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Error: Unable to cast object of type 'System.Int32' to type 'Microsoft.Dynamics.Ax.Xpp.Common'.

(1) ShareShare
ReportReport
Posted on by 2
Hi,
 
 
Batchjob that posts the product receipt gives a technical error after dynamics upgrade to 10.0.39
 
error message:
Unable to cast object of type 'System.Int32' to type 'Microsoft.Dynamics.Ax.Xpp.Common'.
 
Did anyone facing same issue, anyone know how to fix this please let me know.
 
Thanks in advance
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    Error: Unable to cast object of type 'System.Int32' to type 'Microsoft.Dynamics.Ax.Xpp.Common'.
    Hi,
    I did not find this specific error in the LCS known issues. Here is an old thread similar to yours, you can try the methods mentioned in the old thread for code debugging.
    Solved: How to find the line of code that is causing the error? (dynamics.com)
    Best Regards,
    Hana
  • André Arnaud de Calavon Profile Picture
    294,261 Super User 2025 Season 1 on at
    Error: Unable to cast object of type 'System.Int32' to type 'Microsoft.Dynamics.Ax.Xpp.Common'.
    Hi,

    Can you tell us from which version you upgraded and if there are (new) customizations in place?

    PS. I have moved your question from the General forum to the Dynamics 365 SCM forum.

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,011 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans