
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)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.