Scheduled tasks error- Kentico 8.2 to 9 Conversion(Recalculate time zone )

Brijesh Singh asked on February 1, 2018 19:24


While loading Scheduled tasks page, I am getting below error. Any pointer would be highly appreciated.

Message: Task period is not supported

Exception type: System.NotSupportedException Stack Trace: at CMS.Scheduler.SchedulingHelper.GetPeriodDelegates(TaskInterval taskInterval, DateTime currentTime, DateTime baseTime) at CMS.Scheduler.SchedulingHelper.GetTotalUnits(TaskInterval taskInterval, DateTime laterTime, DateTime earlierTime) at CMS.Scheduler.SchedulingHelper.IsExternalTaskTooLate(TaskInfo taskInfo, Int32 timesToBeTooLate, Nullable`1 currentTime) at CMSModules_Scheduler_Controls_UI_List.gridElem_OnExternalDataBound(Object sender, String sourceName, Object parameter) in c:\inetpub\wwwroot\Kentico\CMS\CMSModules\Scheduler\Controls\UI\List.ascx.cs:line 185 at CMS.UIControls.UniGrid.RaiseExternalDataBound(Object sender, String sourceName, Object parameter) at CMS.UIControls.GridViewTemplate.BindData(Object sender, EventArgs e) at System.Web.UI.Control.OnDataBinding(EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) at System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at CMS.UIControls.UniGrid.ReloadData()

Recent Answers

Juraj Ondrus answered on February 3, 2018 17:03

What is the hotfix you are currently on? There looks to be a bug related to this exact issue that was hotfixed in Kentico 9.0.4:

Scheduler - Error in the scheduled task list when using the external scheduling serviceAn error occurred when loading the list of scheduled tasks if any task had its "Period" property set to "Once" and was configured to be processed by the external scheduling service.

I would recommend applying the latest hotfix and checking to see if this resolves your issue.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.