YAFLogo

xjohny
  • xjohny
  • 65.6% (Friendly)
  • YAF Camper Topic Starter
2010-12-10T13:17:29Z
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.

[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
Sponsor
xjohny
  • xjohny
  • 65.6% (Friendly)
  • YAF Camper Topic Starter
2010-12-10T14:17:45Z
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 🙂