Subject: ქეისის წაშლის პრობლემა
From: Zurab Batiashvili
To: IT Support <[email-masked]>, Ani Beraia <[email-masked]>
Cc: Maia Petriashvili <[email-masked]>
Date: Thu, 22 Oct 2020 09:21:00 +0000

მოგესალმებით,

01024035508 პიროვნებაზე კოლოზე ქეისს (  "ScreeningID": "0a04ae06-4bae-4460-9771-8d7dc03d75eb") ვერ ვშლი, სერვისი მიბრუნებს შეცდომას

"NHibernate.Exceptions.GenericADOException: could not execute batch command.[SQL: SQL not available] ---> System.Data.SqlClient.SqlException: The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value.\r\nThe statement has been terminated.\r\n   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)\r\n   at System.Data.SqlClient.SqlCommand.CompleteAsyncExecuteReader()\r\n   at System.Data.SqlClient.SqlCommand.EndExecuteNonQueryInternal(IAsyncResult asyncResult)\r\n   at System.Data.SqlClient.SqlCommand.EndExecuteNonQuery(IAsyncResult asyncResult)\r\n   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at NHibernate.AdoNet.GenericBatchingBatcher.BatchingCommandSet.ExecuteNonQueryAsync(CancellationToken cancellationToken)\r\n   at NHibernate.AdoNet.GenericBatchingBatcher.DoExecuteBatchAsync(DbCommand ps, CancellationToken cancellationToken)\r\n   --- End of inner exception stack trace ---\r\n   at NHibernate.AdoNet.GenericBatchingBatcher.DoExecuteBatchAsync(DbCommand ps, CancellationToken cancellationToken)\r\n   at NHibernate.AdoNet.AbstractBatcher.ExecuteBatchWithTimingAsync(DbCommand ps, CancellationToken cancellationToken)\r\n   at NHibernate.AdoNet.AbstractBatcher.ExecuteBatchAsync(CancellationToken cancellationToken)\r\n   at NHibernate.Engine.ActionQueue.ExecuteActionsAsync(IList list, CancellationToken cancellationToken)\r\n   at NHibernate.Engine.ActionQueue.ExecuteActionsAsync(CancellationToken cancellationToken)\r\n   at NHibernate.Engine.ActionQueue.ExecuteActionsAsync(CancellationToken cancellationToken)\r\n   at NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutionsAsync(IEventSource session, CancellationToken cancellationToken)\r\n   at NHibernate.Event.Default.DefaultFlushEventListener.OnFlushAsync(FlushEvent event, CancellationToken cancellationToken)\r\n   at NHibernate.Impl.SessionImpl.FlushAsync(CancellationToken cancellationToken)\r\n   at NHibernate.Impl.SessionImpl.BeforeTransactionCompletionAsync(ITransaction tx, CancellationToken cancellationToken)\r\n   at NHibernate.Transaction.AdoTransaction.CommitAsync(CancellationToken cancellationToken)\r\n   at Hmis.CancerRegistry.Api.Controllers.CaseController.Delete(Nullable`1 loginToken, Guid[] ids) in C:\\HmisCore\\Hmis.CancerRegistry.Api\\Controllers\\CaseController.cs:line 254"

გთხოვთ დაგვეხმაროთ

ზურა