Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Class AfDataitemmetaData taking much hours while compiling it

(0) ShareShare
ReportReport
Posted on by 3,090

AfDataitemMetaData.pngafdataitemerrorlog.png

Hi Experts,

in this error CIL error log Afdataitemmeta data showing  error and when i am going to compile this class it compile process takes hours of  hours even system hang.But if i compile other classes they are normal take 4 or 5 seconds. One thing more in this error log this class show with error but when i enter to the class in AOT and compile it there is no error. Do you people faced this kind of issue before.?

Best Regards,

Shabir Ahmad

  • Suggested answer
    Martin Dráb Profile Picture
    231,975 Most Valuable Professional on at
    RE: Class AfDataitemmetaData taking much hours while compiling it

    Your screenshot shows that you have at least seven compilation errors. CIL generation depends on X++ compilation and if X++ doesn't compile, CIL can't be generated.

    Of course, having compilation errors is a huge problem in itself - not being able to generate CIL is just one of the symptoms.

    Please recompile the application, fix all compilation errors and compile it once more. Only then generate CIL from X++. And pay more attention to compilation errors in future.

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... 293,276 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,975 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans