重现步骤

[步骤]

[09:20:14]  -------------------------------------------------------------
CODE:O0920141
Error:16_242_3_-2146232060
SQL:update TOP(2) rb_product_admin set IntellectualPropertyRightsAdminID=10460,IntellectualPropertyRightsAdminName='罗凤竹',IntellectualPropertyRightsTime='0001/1/1 0:00:00' where CustomerID = 1 and sku='21594105'
MESSAGE:The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.
The statement has been terminated.
TRACE:   在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   在 GotDotNet.ApplicationBlocks.Data.AdoHelper.ExecuteNonQuery(IDbCommand command)
   在 GotDotNet.ApplicationBlocks.Data.AdoHelper.ExecuteNonQuery(IDbConnection connection, CommandType commandType, String commandText, IDataParameter[] commandParameters)
   在 GotDotNet.ApplicationBlocks.Data.AdoHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, IDataParameter[] commandParameters)
   在 GotDotNet.ApplicationBlocks.Data.AdoHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues)
   在 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues)
   在 PandaBuy.ERP.DAL.DBOperator.ExecuteSql(String p_Sql, String conn, SqlTransaction tran)   在 PandaBuy.ERP.DAL.DBOperator.E8mARE5em(SqlException  , String  )
   在 PandaBuy.ERP.DAL.DBOperator.ExecuteSql(String p_Sql, String conn, SqlTransaction tran)
   在 PandaBuy.ERP.Web.IrobotBox.Product.ProductEdit.ButtonSave_Click(Object sender, EventArgs e)
   在 System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e)
   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   在 System.Web.UI.Page.ProcessRequest()
   在 System.Web.UI.Page.ProcessRequest(HttpContext context)
   在 ASP.irobotbox_product_productedit_aspx.ProcessRequest(HttpContext context)
   在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
   在 System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
   在 System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
   在 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
   在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
   在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
   在 System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
   在 System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
   在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
   在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)

[结果]


[期望]

修复异常
历史记录  
  1. 2025-06-27 17:04:12, 由 袁慧斌 创建。
  2. 2025-06-27 17:04:40, 由 李乐同 指派给 何建宝。
    修改了 指派给,旧值为 "liletong",新值为 "hejianbao"。
  3. 2025-06-27 17:07:09, 由 何建宝 指派给 宋宇。
    修改了 指派给,旧值为 "hejianbao",新值为 "songyu"。
  4. 2025-06-27 17:40:24, 由 宋宇 指派给 许炯华。
    修改了 指派给,旧值为 "songyu",新值为 "xujionghua"。
    问题已经处理
  5. 2025-06-28 18:03:02, 由 许炯华 指派给 何建宝。
    修改了 指派给,旧值为 "xujionghua",新值为 "hejianbao"。
  6. 2025-06-30 09:43:17, 由 何建宝 解决,方案为 程序BUG 。
    修改了 解决方案,旧值为 "",新值为 "code"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2025-06-30 09:41:40"。
    修改了 指派给 ,旧值为 "hejianbao",新值为 "yuanhuibin"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "hejianbao"。
    已解决
  7. 2025-06-30 16:17:50, 由 陈莉珍 编辑。
    修改了 开发责任人,旧值为 "",新值为 "hejianbao"。
    修改了 测试责任人,旧值为 "",新值为 "hejianbao"。
    修改了 解决时效 ,旧值为 "0",新值为 "16.62"。
  8. 2025-07-01 14:45:00, 由 袁慧斌 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "yuanhuibin",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "yuanhuibin"。
    修改了 关闭日期,旧值为 "",新值为 "2025-07-01 14:45:00"。
所属项目 技术中心-需求池
所属模块 供应链   产品采购   产品库
所属计划
所属迭代
Bug类型
严重程度 一般
优先级 P2
Bug状态 已关闭
业务部门 供应链管理中心
影响功能
开发责任人 何建宝
测试责任人 何建宝
解决时效 16.62
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2025-07-01 14:45:00
截止日期 0000-00-00
上线时间 2025-06-30 09:45:00
上线时效 16.68
操作系统
浏览器
关键词
抄送给
所属迭代
相关需求
相关任务
由谁创建 袁慧斌 于 2025-06-27 17:04:12
影响环境 生产环境-业务反馈
由谁解决 何建宝 于 2025-06-30 09:41:40
解决版本 主干
解决方案 程序BUG
由谁关闭 袁慧斌 于 2025-07-01 14:45:00
最后修改 袁慧斌 于 2025-07-01 14:45:00
相关Bug