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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Goshoom. NET Dev Blog / InvalidProgramException in ...

InvalidProgramException in D365 F&O

Martin Dráb Profile Picture Martin Dráb 241,635 Most Valuable Professional
I run into two cases when F&O threw InvalidProgramException at runtime. This is the full message: System.InvalidProgramException: Common Language Runtime detected an invalid program. It happened because X++ compiler generated invalid IL that the JIT compiler wasn’t able to compile to native code. One scenario is assigning a struct to an interface-types variable. For example: ...

Continue reading ‘InvalidProgramException in D365 F&O’ »


This was originally posted here.

Comments

*This post is locked for comments