Good morning.
Just tried to synchronize DB from VS and found this error.
RelatedActivityId 00000000-0000-0000-0000-000000000000
Log level - Error | System.Data.SqlClient.SqlException (0x80131904): During undo of a logged operation in database 'AxDB', an error occurred at log record ID (1385:8056:102). The row was not found. Restore the database from a full backup, or repair the database.
During undoing of a logged operation in database 'AxDB' (page (1:491299) if any), an error occurred at log record ID (1385:8056:102). Typically, the specific failure is logged previously as an error in the operating system error log. Restore the database or file from a backup, or repair the database.
The log for database 'AxDB' is not available. Check the operating system error log for related error messages. Resolve any errors and restart the database.
During undoing of a logged operation in database 'AxDB' (page (0:0) if any), an error occurred at log record ID (1385:8056:102). Typically, the specific failure is logged previously as an error in the operating system error log. Restore the database or file from a backup, or repair the database.
During undoing of a logged operation in database 'AxDB' (page (0:0) if any), an error occurred at log record ID (1383:4537:1). Typically, the specific failure is logged previously as an error in the operating system error log. Restore the database or file from a backup, or repair the database.
Cannot continue the execution because the session is in the kill state.
A severe error occurred on the current command. The results, if any, should be discarded.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlBulkCopy.RunParser(BulkCopySimpleResultSet bulkCopyHandler)
at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinuedOnSuccess(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinued(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsync(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestContinuedAsync(BulkCopySimpleResultSet internalResults, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestAsync(CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalAsync(CancellationToken ctoken)
at System.Data.SqlClient.SqlBulkCopy.WriteRowSourceToServerAsync(Int32 columnCount, CancellationToken ctoken)
at System.Data.SqlClient.SqlBulkCopy.WriteToServer(DataTable table, DataRowState rowState)
at Microsoft.Dynamics.AX.Data.Management.SqlCommandFactory.<>c__DisplayClass7_0`1.<WriteRecordsToServerWithRetry>b__0()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.<>c__DisplayClass1.<ExecuteAction>b__0()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
at Microsoft.Dynamics.AX.Data.Management.SqlCommandFactory.WriteRecordsToServerWithRetry[T](SqlBulkCopy bulkCopy, DataTable dataTable, Int32 retryCount)
at Microsoft.Dynamics.AX.Data.Management.SqlCommandFactory.WriteRecordsToServerWithExponentialBackoff(SqlBulkCopy bulkCopy, DataTable dataTable, Int32 retryCount)
at Microsoft.Dynamics.AX.Framework.Database.Tools.TableIdSync.CommitByRecreate(SqlConnection businessSqlConnection)
at Microsoft.Dynamics.AX.Framework.Database.Tools.TableIdSync.Commit(SqlConnectionProvider sqlConnectionProvider)
at Microsoft.Dynamics.AX.Framework.Database.Tools.TableIdSync.runFullSync()
at Microsoft.Dynamics.AX.Framework.Database.Tools.IdSync.<>c.<RunFullSync>b__7_1(RunDelegate x)
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)
ClientConnectionId:01cd66e1-86f9-4811-9b42-08fbcc1cbfa7
Error Number:3316,State:1,Class:21
Log level - Error | System.Data.SqlClient.SqlException (0x80131904): During undo of a logged operation in database 'AxDB', an error occurred at log record ID (1385:8056:102). The row was not found. Restore the database from a full backup, or repair the database.
During undoing of a logged operation in database 'AxDB' (page (1:491299) if any), an error occurred at log record ID (1385:8056:102). Typically, the specific failure is logged previously as an error in the operating system error log. Restore the database or file from a backup, or repair the database.
The log for database 'AxDB' is not available. Check the operating system error log for related error messages. Resolve any errors and restart the database.
During undoing of a logged operation in database 'AxDB' (page (0:0) if any), an error occurred at log record ID (1385:8056:102). Typically, the specific failure is logged previously as an error in the operating system error log. Restore the database or file from a backup, or repair the database.
During undoing of a logged operation in database 'AxDB' (page (0:0) if any), an error occurred at log record ID (1383:4537:1). Typically, the specific failure is logged previously as an error in the operating system error log. Restore the database or file from a backup, or repair the database.
Cannot continue the execution because the session is in the kill state.
A severe error occurred on the current command. The results, if any, should be discarded.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlBulkCopy.RunParser(BulkCopySimpleResultSet bulkCopyHandler)
at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinuedOnSuccess(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinued(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsync(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestContinuedAsync(BulkCopySimpleResultSet internalResults, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestAsync(CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalAsync(CancellationToken ctoken)
at System.Data.SqlClient.SqlBulkCopy.WriteRowSourceToServerAsync(Int32 columnCount, CancellationToken ctoken)
at System.Data.SqlClient.SqlBulkCopy.WriteToServer(DataTable table, DataRowState rowState)
at Microsoft.Dynamics.AX.Data.Management.SqlCommandFactory.<>c__DisplayClass7_0`1.<WriteRecordsToServerWithRetry>b__0()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.<>c__DisplayClass1.<ExecuteAction>b__0()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
at Microsoft.Dynamics.AX.Data.Management.SqlCommandFactory.WriteRecordsToServerWithRetry[T](SqlBulkCopy bulkCopy, DataTable dataTable, Int32 retryCount)
at Microsoft.Dynamics.AX.Data.Management.SqlCommandFactory.WriteRecordsToServerWithExponentialBackoff(SqlBulkCopy bulkCopy, DataTable dataTable, Int32 retryCount)
at Microsoft.Dynamics.AX.Framework.Database.Tools.TableIdSync.CommitByRecreate(SqlConnection businessSqlConnection)
at Microsoft.Dynamics.AX.Framework.Database.Tools.TableIdSync.Commit(SqlConnectionProvider sqlConnectionProvider)
at Microsoft.Dynamics.AX.Framework.Database.Tools.TableIdSync.runFullSync()
at Microsoft.Dynamics.AX.Framework.Database.Tools.IdSync.<>c.<RunFullSync>b__7_1(RunDelegate x)
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)
ClientConnectionId:01cd66e1-86f9-4811-9b42-08fbcc1cbfa7
Error Number:3316,State:1,Class:21
Database synchronization completed (23294 ms). Errors found.
Log level - Error | System.Data.SqlClient.SqlException (0x80131904): During undo of a logged operation in database 'AxDB', an error occurred at log record ID (1385:8056:102). The row was not found. Restore the database from a full backup, or repair the database.
During undoing of a logged operation in database 'AxDB' (page (1:491299) if any), an error occurred at log record ID (1385:8056:102). Typically, the specific failure is logged previously as an error in the operating system error log. Restore the database or file from a backup, or repair the database.
The log for database 'AxDB' is not available. Check the operating system error log for related error messages. Resolve any errors and restart the database.
During undoing of a logged operation in database 'AxDB' (page (0:0) if any), an error occurred at log record ID (1385:8056:102). Typically, the specific failure is logged previously as an error in the operating system error log. Restore the database or file from a backup, or repair the database.
During undoing of a logged operation in database 'AxDB' (page (0:0) if any), an error occurred at log record ID (1383:4537:1). Typically, the specific failure is logged previously as an error in the operating system error log. Restore the database or file from a backup, or repair the database.
Cannot continue the execution because the session is in the kill state.
A severe error occurred on the current command. The results, if any, should be discarded.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlBulkCopy.RunParser(BulkCopySimpleResultSet bulkCopyHandler)
at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinuedOnSuccess(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinued(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsync(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestContinuedAsync(BulkCopySimpleResultSet internalResults, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestAsync(CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalAsync(CancellationToken ctoken)
at System.Data.SqlClient.SqlBulkCopy.WriteRowSourceToServerAsync(Int32 columnCount, CancellationToken ctoken)
at System.Data.SqlClient.SqlBulkCopy.WriteToServer(DataTable table, DataRowState rowState)
at Microsoft.Dynamics.AX.Data.Management.SqlCommandFactory.<>c__DisplayClass7_0`1.<WriteRecordsToServerWithRetry>b__0()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.<>c__DisplayClass1.<ExecuteAction>b__0()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
at Microsoft.Dynamics.AX.Data.Management.SqlCommandFactory.WriteRecordsToServerWithRetry[T](SqlBulkCopy bulkCopy, DataTable dataTable, Int32 retryCount)
at Microsoft.Dynamics.AX.Data.Management.SqlCommandFactory.WriteRecordsToServerWithExponentialBackoff(SqlBulkCopy bulkCopy, DataTable dataTable, Int32 retryCount)
at Microsoft.Dynamics.AX.Framework.Database.Tools.TableIdSync.CommitByRecreate(SqlConnection businessSqlConnection)
at Microsoft.Dynamics.AX.Framework.Database.Tools.TableIdSync.Commit(SqlConnectionProvider sqlConnectionProvider)
at Microsoft.Dynamics.AX.Framework.Database.Tools.TableIdSync.runFullSync()
at Microsoft.Dynamics.AX.Framework.Database.Tools.IdSync.<>c.<RunFullSync>b__7_1(RunDelegate x)
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)
ClientConnectionId:01cd66e1-86f9-4811-9b42-08fbcc1cbfa7
Error Number:3316,State:1,Class:21
syncengine.exe exited with code -1.