Error In Page


Error Message: Invalid cast from 'DateTime' to 'Int32'.
Stack Trace:
System.InvalidCastException: Invalid cast from 'DateTime' to 'Int32'.
at System.DateTime.System.IConvertible.ToInt32(IFormatProvider provider)
at Dea.Core.Utilities.GetInt(Object o)
at MasterCalendar.GetEvents()
at MasterCalendar.LoadJsonData()
at MasterCalendar.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at Dea.Web.Sites.MasterCalendar.BasePage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Additional Information
ErrorCaughtBy: MasterCalendar.aspx
PatchNumber: 8
ClientName:
Product: