Error on restart of the service
Posted: Wed 23 Aug 2017 06:53
We receive an error, every time the service is restarted. Is there something wrong in our configuration, or is this a known issue?
Review Assistant 3.6.445.
If you can not resolve this error, please contact Devart support team: https://www.devart.com/company/contactf ... -assistant
Error occurred in Perform at 23-8-2017 8:49:52:
Message: An error occurred while updating the entries. See the inner exception for details.
Source: EntityFramework
TargetSite: Int32 SaveChanges()
HelpLink:
Type: System.Data.Entity.Infrastructure.DbUpdateException
Entries: System.Linq.Enumerable+WhereSelectEnumerableIterator`2[System.Data.Entity.Core.Objects.ObjectStateEntry,System.Data.Entity.Infrastructure.DbEntityEntry]
HResult: -2146233087
Stack:
at System.Data.Entity.Internal.InternalContext.SaveChanges()
at #=q0zB02JdhY9yufZUE8iv_o7FpOUUFfk3z$MrWvSntjWE8SejNXNXEecTGC5bqEjva.#=qf9ScyHL_Xvd5YLYMjiLNMAmnjuJrkKhN2iMiAm2PQ9s=(ReviewAssistantContext #=qtdjdisi5IbnKHHSCTQylzQ==)
at #=q0zB02JdhY9yufZUE8iv_o7FpOUUFfk3z$MrWvSntjWE8SejNXNXEecTGC5bqEjva.#=q578LYKxADmwJBaEcWDZ5qvdj2TRsuo_MIgmI$MGdfmQ=(String #=q4aHVyYp7b$tfZP$eL6Xa9w==, ReviewAssistantContext #=qTXBbLCsp8sASSNBJDvqUcA==)
at #=q0zB02JdhY9yufZUE8iv_o7FpOUUFfk3z$MrWvSntjWE8SejNXNXEecTGC5bqEjva.#=qOULoTP$DZcyAbN4W42ngHPJLltQFqo1OApYyNA13WEc=.#=qAS5E_ZKWza5hQMyYyylhuSzpm0VgHbPNur4aebmXx2c=(ReviewAssistantContext #=qPWTpqRPnZqUsR2juHKYGig==)
at #=q0zB02JdhY9yufZUE8iv_o7FpOUUFfk3z$MrWvSntjWE8SejNXNXEecTGC5bqEjva.#=qpdh1fzDu9ALSrEO_btDzVA==(Action`1 #=qOqsbEQoy5wc7lGzHfgIhfQ==)
Message: An error occurred while updating the entries. See the inner exception for details.
Source: EntityFramework
TargetSite: Int32 Update()
HelpLink:
Type: System.Data.Entity.Core.UpdateException
StateEntries: System.Collections.ObjectModel.ReadOnlyCollection`1[System.Data.Entity.Core.Objects.ObjectStateEntry]
HResult: -2146233087
Stack:
at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)
at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)
at System.Data.Entity.Internal.InternalContext.SaveChanges()
Message: Violation of PRIMARY KEY constraint 'PK_dbo.Users'. Cannot insert duplicate key in object 'dbo.Users'. The duplicate key value is (93ddfe40-3d5f-45a1-930f-6f8c1ba81d93).
The statement has been terminated.
Source: .Net SqlClient Data Provider
TargetSite: Void OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])
HelpLink:
Type: System.Data.SqlClient.SqlException
Data:
HelpLink.ProdName: Microsoft SQL Server
HelpLink.ProdVer: 12.00.5553
HelpLink.EvtSrc: MSSQLServer
HelpLink.EvtID: 2627
HelpLink.BaseHelpUrl: http://go.microsoft.com/fwlink
HelpLink.LinkId: 20476
Errors: System.Data.SqlClient.SqlErrorCollection
ClientConnectionId: 42b5edc6-c989-435c-8a72-52df1d5aa029
Class: 14
LineNumber: 1
Number: 2627
Procedure:
Server: .\SQLEXPRESS
State: 1
ErrorCode: -2146232060
HResult: -2146232060
Stack:
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.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
at 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)
at 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)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.NonQuery(DbCommand command, DbCommandInterceptionContext interceptionContext)
at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)
at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()