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 :
Supply chain | Supply Chain Management, Commerce
Answered

Batch Job OptimizeDateEffectiveEntities fails every time and it runs every 5 mins

(0) ShareShare
ReportReport
Posted on by 3,175
Hello Community
We have a batch job with description /OptimizeDateEffectiveEntities/ and it runs every 5 mins and it marked as critical job.
I am positive that is a standard batch job that is automatically scheduled.
In batch Tasks -> Class name is empty
And so every time it runs, an error is thrown
 
Batch task failed: Unable to construct an object from the class '' (Class Number '98807' Job Id '5638112076' ) in the batch framework. Make sure that the X++ code has been compiled to Microsoft .NET Framework CIL, and that the constructor does not require any parameters.
 
Any insights would be helpful.
Can i safely turn it OFF ?
 
I have the same question (0)
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    Hi,
    Are you running multiple batch servers? There are old threads with similar problems to yours, you can refer to the suggestions in the old threads, try to restart AOS, etc.  Hope these will give you some hints.
    Solved: RunBaseBatch job giving error (dynamics.com)
    Could anyone help ! I'm getting the following error when i add a batch on my class. (dynamics.com)
    Ax2012 Compile RunBaseBatch Class to CIL Error (dynamics.com)

  • San Artham Profile Picture
    3,175 on at
    Hi Hana
     
    But this issue is in D365 F&O Prod env and regularly the env gets a new build package (which is precompiled).
    Based on the Job history, i see it has been failing a for long time.
     
    Thanks
    San
  • Verified answer
    Guy Terry Profile Picture
    28,924 Moderator on at
    If you have updated to 10.0.38, you can set this batch job to Withhold, or delete it. There's an 913481 on LCS Issue Search describes that this Batch job is no longer needed with 10.0.38.
  • Rafael Araujo Profile Picture
    183 on at

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 271 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 171 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 130 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans