YAFLogo

Posted by: xjohny - Friday, 10 December 2010 14:17:29
Hi, my forum suddenly (probably overnight) stopped working. Now it always returns an exception "String was not recognized as a valid DateTime". Any idea what thing could cause it? I'm using 1.9.4 version. [code][FormatException: String was not recognized as a valid DateTime.] System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) +2838082 YAF.Controls.ForumActiveDiscussion.LatestPosts_ItemDataBound(Object sender, RepeaterItemEventArgs e) +748 System.Web.UI.WebControls.Repeater.OnItemDataBound(RepeaterItemEventArgs e) +108 System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +136 System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +443 System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +51 System.Web.UI.WebControls.Repeater.DataBind() +75 YAF.Controls.ForumActiveDiscussion.Page_Load(Object sender, EventArgs e) +597 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 [/code]

Posted by: xjohny - Friday, 10 December 2010 15:17:45
Well, the error has disappeared after the app was restarted. Funny is that the restart was forced by modifying the web.config file to turn custom errors on :)