Server Error in '/eprinting' Application.

Incorrect DATETIME value: '3/29/2024'

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: MySql.Data.MySqlClient.MySqlException: Incorrect DATETIME value: '3/29/2024'

Source Error:


Line 20:         Response.Write(orderutil.generate_init(1));
Line 21:         Response.Write(orderutil.generate_holidaylist());
Line 22:         Response.Write(orderutil.generate_checkexistingfilename(Request.Cookies["mid"].Value, System.DateTime.Now.ToShortDateString()));
Line 23:         if (Request.Cookies["cgst"].Value == "0") { Response.Write("var sGSTRate = 0;"); } else { Response.Write("var sGSTRate = " + Util.get_setting("SSTPF", "0") + ";"); }
Line 24: 		%>	

Source File: c:\domains\xprint.co\xprint.co\wwwroot\eprinting\V2\PriceChecker_PlasticFolder_o.aspx    Line: 22

Stack Trace:


[MySqlException (0x80004005): Incorrect DATETIME value: '3/29/2024']
   MySql.Data.MySqlClient.<ReadPacketAsync>d__30.MoveNext() +595
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
   MySql.Data.MySqlClient.<GetResultAsync>d__45.MoveNext() +2451
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
   MySql.Data.MySqlClient.<GetResultAsync>d__85.MoveNext() +339
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
   MySql.Data.MySqlClient.<NextResultAsync>d__84.MoveNext() +411
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
   MySql.Data.MySqlClient.<NextResultAsync>d__97.MoveNext() +1311
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
   MySql.Data.MySqlClient.<NextResultAsync>d__97.MoveNext() +4467
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
   MySql.Data.MySqlClient.<ExecuteReaderAsync>d__111.MoveNext() +3408
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
   MySql.Data.MySqlClient.<ExecuteReaderAsync>d__111.MoveNext() +5632
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
   MySql.Data.MySqlClient.<ExecuteReaderAsync>d__111.MoveNext() +6807
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +46
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +214
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +180
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +126
   ePrinting.Libs.DbUtil.get_dataset(String sql) +166
   ePrinting.Libs.OrderUtil.generate_checkexistingfilename(String mid, String currentdate) +294
   ASP.v2_pricechecker_plasticfolder_o_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\domains\xprint.co\xprint.co\wwwroot\eprinting\V2\PriceChecker_PlasticFolder_o.aspx:22
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   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.4110.0