Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Exception has been thrown by the target of an invocation

(0) ShareShare
ReportReport
Posted on by 912

When I’m trying to open AX application immediately getting the below error and application is going to responding mode normally without any issue.

I tried to do a CIL full but this does not  correct the issue.

Do you have any idea why we get this exception on opening AX ?

pastedimage1581500422210v1.png

Regards

  • Verified answer
    Brandon Wiese Profile Picture
    Brandon Wiese 17,788 on at
    RE: Exception has been thrown by the target of an invocation

    Running as a SysAdmin, turn off CIL  using Tools, Options, Development, and uncheck Execute business operations in CIL.

    Then you should get a hopefully better error message, and it may even launch the debugger and drop you directly onto the offending line of code.  Let us know what you get.

  • Guruprasanna Profile Picture
    Guruprasanna 1,046 on at
    RE: Exception has been thrown by the target of an invocation

    In addition, Can you check event viewer if you can get some useful information.

    Regards

    Guru

  • Martin Dráb Profile Picture
    Martin Dráb 231,409 Most Valuable Professional on at
    RE: Exception has been thrown by the target of an invocation

    It's a very generic error - it says that something was called via reflection and this something threw some kind of exception. You must collect more information before you can fix it.

    I would start by looking at where the error was thrown from. It might come from Info.startup() or startupPost(), but these are not the only possible places.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February 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... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans