Server Error in '/' Application.

String was not recognized as a valid DateTime.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: String was not recognized as a valid DateTime.

Source Error:


Line 329:            <hr />
Line 330:            <div class="row">
Line 331:            <%=GetGebiedDetail() %>
Line 332:            </div>
Line 333:     

Source File: c:\Sites\SchneeradarDE\Master\MasterVillage.master    Line: 331

Stack Trace:


[FormatException: String was not recognized as a valid DateTime.]
   System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) +14276559
   System.Convert.ToDateTime(String value) +85
   SneeuwhoogtenNL.Master.MasterVillage.GetGebiedDetail() in C:\Users\JoeriFokke\Downloads\de.sneeuwhoogten.nl\de.sneeuwhoogten.nl\Master\MasterVillage.master.cs:800
   ASP.master_mastervillage_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Sites\SchneeradarDE\Master\MasterVillage.master:331
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +169
   SneeuwhoogtenNL.Common.BasePage.Render(HtmlTextWriter htmlTextWriter) in C:\Users\JoeriFokke\Downloads\de.sneeuwhoogten.nl\de.sneeuwhoogten.nl\Common\BasePage.cs:508
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0