Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Batch Alert Group ,Error

Posted on by Microsoft Employee

Hi All,

All of sudden when I run Batch Alert Job , unfortunately ending up with an error.

I have debugged the Class "EvenJobCud"  , run() method as soon as the breakpoint hits the below highlighted  code , the following error pops up

I have also written a job for EventCud table and found that there 2260924  exists which all are in "Waiting" state , I doubt that if this could be the problem ?. (I am not sure).

6102.err.JPG

eventJobCud.JPG

Also when I right the table and try to open the Table Browser for EventCud table the AX system is getting freezed for forever.

Please provide suggestion .

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Batch Alert Group ,Error

    Thanks  a lot Vilmos I successfully resolved the issue, as I have cleaned up all the pending alerts from the table as you have suggested.

  • Verified answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: Batch Alert Group ,Error

    EventCUD is the unsent alert messages. The only impact it has is that alerts which were supposed to be received will not go out after the event processing batch runs, if you remove entries in there. I would focus on removing the problematic ones only, which you should be able to find with the debugger.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Batch Alert Group ,Error

    Thanks you so much Vilmos. Your suggestion gonna help me a lot.

    Just a query .  Deleting records from EventCud table whose status is "waiting" will impact any other processes in ax ?

    Thanks a lot to you once again.....

  • Verified answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: Batch Alert Group ,Error

    The error message suggests that it cannot handle the data to be generated for some object, most likely the origin record for the alert message. It can happen if an alert was raised, while the table structure has been modified (i.e. by deleting a field, or removing a data type behind the field).

    The quickest fix is to remove pending alerts from the queue, if you cannot find specifically that which record entry is raising the error. Before doing this you should consult with your business if it has any impact if they do not get specific alert notifications.

    The freezing could be just a performance bottleneck because you are not maintaining index fragmentation and statistics on your AX database within SQL Server. Have a look at the tables' index fragmentation, last updated statistics, and query execution plan (for possible missing covering index) - you may read up about these topics online with a simple search. Alternatively you could just return the records from within SQL directly, which would most likely not "freeze", and see what is going on there.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans