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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

CIL compilation errors in log file but not in Infolog

(0) ShareShare
ReportReport
Posted on by

Hello,

on our prod environment (AX 2012 R3 CU 9) with two AOS I made a full AX-Compile and afterthat a Full-CIL-Compile. In the infolog there is no warning and no error. But in the CIL-Logfile (C:\Program Files\Microsoft Dynamics AX\60\Server\Dax_2012R3_Prod\bin\XppIL\Dynamics.Ax.Application.dll.log) there was the following exceptions. Enterprise Portal is not configured and used yet.

Finished pass 1 at 17.03.2017 19:00:28
Finished pass 2 at 17.03.2017 19:02:45
Exception was thrown because the .NET instance method Microsoft.Dynamics.Framework.Portal.Deployment.EPWebModule.DeployWebModuleFromAOT was not found during CIL generation in class sysEPWebPageDefinition.deployModuleOnServer. Generating the code to make a reflection call during run time.
Information: Either the .NET instance method Microsoft.Dynamics.Framework.Portal.Deployment.EPWebModule.DeployWebModuleFromAOT or its parameters could not be resolved during CIL generation, in class sysEPWebPageDefinition.deployModuleOnServer. Generating the code to make a reflection call during run time.
Exception was thrown because the .NET instance method Microsoft.Dynamics.Framework.Portal.Deployment.EPWebPartPage.ImportWebPartPageFromAOT was not found during CIL generation in class sysEPWebPageDefinition.deployPageOnServer. Generating the code to make a reflection call during run time.
Information: Either the .NET instance method Microsoft.Dynamics.Framework.Portal.Deployment.EPWebPartPage.ImportWebPartPageFromAOT or its parameters could not be resolved during CIL generation, in class sysEPWebPageDefinition.deployPageOnServer. Generating the code to make a reflection call during run time.
Finished pass 3 at 17.03.2017 19:14:49
Finished creating types at 17.03.2017 19:15:33
Errors: 0
Warnings: 3

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,141 Super User 2025 Season 2 on at

    Hi Sascha,

    There is a difference between x++ compilation and CIL generation. The CIL generation created dlls that have dependencies on several related binaries. If these binaries are not installed, the CIL will give warnings only. As you can see they are not blocking for the CIL generation.

  • Suggested answer
    Faisal Fareed Profile Picture
    10,796 User Group Leader on at

    Did the X++ compilation end without errors? If not, please fix X++ first before trying to convert it into CIL. CIL compilation depends on information collected during X++ compilation; it can't work the other way around.

  • Community Member Profile Picture
    on at

    Thanks for your answers. I know the difference between x++- and CIL-compilation. I only wonder what Background the CIL-Warnings has.

    The x++-compilations ended without Errors.

  • Suggested answer
    Ajit Profile Picture
    8,755 on at

    Your CIL log also looks good. You can always check the log here - C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\Log

    Location might different based on your drive selection.

  • Community Member Profile Picture
    on at

    The log files looks good.

  • André Arnaud de Calavon Profile Picture
    301,141 Super User 2025 Season 2 on at

    Hi Sascha,

    Within my previous answer I mentioned that probably some features are not installed which can cause the warnings.

  • PK Axapta Profile Picture
    140 on at

    Hello Sascha ,

    I am also in the same boat. Infolog is not showing any error but in logs same error is coming.

    Could you please share your findings on this.

    Thanks in advance!

  • Community Member Profile Picture
    on at

    Hello Pankaj,

    my finding is to ignore this log message. :-) Due to the fact that the x++-compile and the cil-compile finish without errors and also the cil-log (Dynamics.Ax.Application.dll.log) finished with not errors (warnings: 3; errors: 0) and also the Application and the Enterprise Portal works fine, I decided to ignore that message.

  • PK Axapta Profile Picture
    140 on at

    Great thanks Sascha for your reply!

    All right Sascha :) But with this, I am getting "CLRObject not found" error while sending an email. I have completed Sync, Compile and full CIL, but CLRObject not found is not resolving and making me insane as we don't have any fix solution for this error.  Will look into this more deeply. Thanks!

  • Suggested answer
    Ajit Profile Picture
    8,755 on at

    Please double check the email parameters. 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans