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 62: 
Line 63:                             <div class="col-lg-9" style="margin-top:10px">
Line 64:                                 <span style="color:black; font-size: 16px;  font-weight: 700"><%#Convert.ToDateTime(Eval ("Article_Date")).ToString("MMMM dd, yyyy")%> | <%# Eval("Article_Author") %></span>
Line 65:                             </div>
Line 66:                             

Source File: c:\inetpub\vhosts\theinnovantes.com\ijcp.in\Pages\Post_Detail.aspx    Line: 64

Stack Trace:


[FormatException: String was not recognized as a valid DateTime.]
   System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) +12836419
   System.Convert.ToDateTime(String value, IFormatProvider provider) +75
   System.String.System.IConvertible.ToDateTime(IFormatProvider provider) +16
   System.Convert.ToDateTime(Object value) +33
   ASP.pages_post_detail_aspx.__DataBind__control9(Object sender, EventArgs e) in c:\inetpub\vhosts\theinnovantes.com\ijcp.in\Pages\Post_Detail.aspx:64
   System.Web.UI.Control.OnDataBinding(EventArgs e) +86
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +154
   System.Web.UI.Control.DataBind() +17
   System.Web.UI.Control.DataBindChildren() +187
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +164
   System.Web.UI.Control.DataBind() +17
   System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +138
   System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +659
   System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +65
   System.Web.UI.WebControls.BaseDataList.DataBind() +84
   Pages_Post_Detail.SelectAll() in c:\inetpub\vhosts\theinnovantes.com\ijcp.in\Pages\Post_Detail.aspx.cs:112
   Pages_Post_Detail.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\theinnovantes.com\ijcp.in\Pages\Post_Detail.aspx.cs:33
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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