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 CRM (Archived)

Microsoft Dynamics CRM Asynchronous Processing Service (maintenance) Crashing

(0) ShareShare
ReportReport
Posted on by

We have been up-and-running with our CRM 2011 UR16 On-premise installation for a number of months, and our "Microsoft Dynamics CRM Asynchronous Processing Service (maintenance)" service suddenly started crashing with the following error around 2:30 AM CST on Saturday morning:

Host xxxxxxxxx: failed while monitoring asynchronous operations queue. Exception: Microsoft.Crm.CrmInvalidRecurrenceRuleException: 'MONTHLY' is not a supported frequency

   at Microsoft.Crm.RecurrencePatternFactory.FreqPartParser.Parse(String partValue, RecurrencePattern pattern)

   at Microsoft.Crm.RecurrencePatternFactory.Create(String iCalRecurrence, DateTime patternStart, TimeZone timeZone, TimeSpan duration)

   at Microsoft.Crm.Asynchronous.QueueManager.NextOccurrence(String pattern, DateTime recurrenceStartTime)

   at Microsoft.Crm.Asynchronous.JobManager.OrgDatabaseJobTimeoutTimerEvent(Object sender, ElapsedEventArgs e)

   at Microsoft.Crm.Timers.Timer.InvokeElapsedWithCancellationToken(Object state)

   at Microsoft.Crm.Timers.Timer.InvokeElapsed()

   at Microsoft.Crm.Timers.Timer.TimerProcessor.ExecuteTimers(Object data)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading.ThreadHelper.ThreadStart(Object obj)

I have found a couple of references to the correct Recurrence pattern value being "FREQ=MONTHLY;"  However, I have attempted both a System Job advanced find for a recurrence value containing "Monthly", as well as queried the AsyncOperationBase table for anything "Month" related (Where RecurrencePattern like '%Month%') .  But, this value does not show up anywhere.

Is anyone aware of another location that a "Monthly" value could exist that could cause the Async (maintenance) service to fail with this kind of error, or, better yet, how to resolve this error and successfully restart the service?

Thank you.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    I was able to resolve this issue.  After doing a CRM trace, I was able to determine that the MONTHLY value was coming from a query against the ScaleGroupOrganizationMaintenanceJobs table in the MSCRM_CONFIG database.  It turns out that we had one value (correctly) set to "FREQ=MONTHLY;" through the CRM 2011 Job Editor.  Using the Job Editor to set the value to a Daily frequency resolved the problem.  I believe this may be a bug with our current CRM installation that I will research as time permits.

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans