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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Exception has been thrown by the target of an invocation

(0) ShareShare
ReportReport
Posted on by

Hi All

I have tried to reconfirm a purchase order after changing the delivery date and i receive the following error message:

'Exception has been thrown by the target of an invocation'

This has happened now on at least 2 completely unrelated orders in the last few days.

Can anyone please shed some light on what this means or what could have caused the issue. If i try to click view accounting distributions then i receive also receive the error message below. I'm not sure if the 2 error messages are linked in any way?

stack-trace-error.PNG

Any help will be much appreciated

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    240,008 Most Valuable Professional on at

    This is a completely generic error. It means "a .NET method was called and it caused an exception". Of course, how you should fix it depends on what code was called and what failed. Because you don't know it yet, you'll have to collect more information before you can fix the problem. First of all, didn't you get any more details, such as the call stack? If not, consider tracing or debugging.

    Regarding the other error, you're in a much better position. You know that the error was raised at line 27 in SourceDocumentLineItem.newFromSourceDocumentLineImplementation(), therefore your first step should be checking what code is there.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans