It is not possible to create new or edit existing (custom) Shared Schedules. This seems to be broken since we upgraded last. The Shared Schedules show a red exclamation point next to each schedule. The Shared Schedules are also not being created in Windows Task Scheduler as they should be.
ITMS 8.x
Errors in SMP Logs:
Unable to create scheduled task: 'NS.Custom Last Wed 0200.{GUID}'
Value does not fall within the expected range.
[System.ArgumentException @ Altiris.Interop]
at Altiris.Interop.ITaskTrigger.SetTrigger(TaskTrigger& trigger)
at Altiris.NS.Scheduling.ScheduleManagerInterop1.XmlToTrigger(ITask iTask, XmlTextReader xmlReader)
at Altiris.NS.Scheduling.ScheduleManagerInterop1.XmlToTask(ITask iTask, String taskData)
at Altiris.NS.Scheduling.ScheduleManagerInterop1.<>c__DisplayClass11_0.<SetTask>b__0(ITask iTask)
at Altiris.NS.Scheduling.ScheduleManagerInterop1.<>c__DisplayClass12_0.<WithTask>b__0(ITask iTask)
at Altiris.NS.Scheduling.ScheduleManagerInterop1.WithTask[T](String taskName, Boolean createNew, Boolean throwOnError, Func`2 action, String profileCategory)
at Altiris.NS.Scheduling.ScheduleManagerInterop1.SetTask(String taskName, String taskData)
at Altiris.NS.Scheduling.ScheduleManagerInteropContext.SetTask(String name, String task, ECreateOrUpdateResult re)
Exception logged from:
at Altiris.NS.Scheduling.ScheduleManagerInteropContext.SetTask(String, String, Altiris.NS.Scheduling.ScheduleManager+ECreateOrUpdateResult)
at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateCustomSchedule(Altiris.Profiling.CodeProfiling.CodeProfiler, Altiris.NS.Scheduling.ScheduleManagerInteropContext, String, Altiris.NS.ItemManagement.IItemScheduling, Altiris.NS.Scheduling.ScheduleManager+ECreateOrUpdateResult, String)
Other errors:
Unable to update the scheduling data associated with the item: 4d40ef23-8f7a-48cd-9ce4-eda098ac5863
Unable to update the scheduling information associated with the item: GUID
Item save to DB failed: GUID, (fromClone=False, user=ConsoleUser)
Failed to edit schedule: GUID
Failed to add a new schedule.
Unable to update the scheduling information associated with the item: GUID
SharedSchedules.OnAddNewSchedule()
Failed to add a new schedule
Value does not fall within the expected range.
Please do the following to resolve this issue: