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 427:        End Select
Line 428:
Line 429:        Dim daData As Date = Convert.ToDateTime(da)
Line 430:        Dim aData As Date = Convert.ToDateTime(a)
Line 431:

Source File: D:\inetpub\webs\inudistiit\blog.aspx    Line: 429

Stack Trace:


[FormatException: String was not recognized as a valid DateTime.]
   System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) +2968422
   System.Convert.ToDateTime(String value) +98
   ASP.blog_aspx.ApplyFilterMonth() in D:\inetpub\webs\inudistiit\blog.aspx:429
   ASP.blog_aspx.Page_Load(Object sender, EventArgs e) in D:\inetpub\webs\inudistiit\blog.aspx:24
   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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175