Violation of PRIMARY KEY constraint 'PK_Cooks1_1'. Cannot insert duplicate key in object 'dbo.Cooks'. The duplicate key value is (190046).

  • Violation of PRIMARY KEY constraint 'PK_Cooks1_1'. Cannot insert duplicate key in object 'dbo.Cooks'. The duplicate key value is (190046).


    The statement has been terminated.

    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: System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'PK_Cooks1_1'. Cannot insert duplicate key in object 'dbo.Cooks'. The duplicate key value is (190046).
    The statement has been terminated.

    
    
    [SqlException (0x80131904): Violation of PRIMARY KEY constraint 'PK_Cooks1_1'. Cannot insert duplicate key in object 'dbo.Cooks'. The duplicate key value is (190046). The statement has been terminated.] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +2555674 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5958364 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +285 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4169 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) +255 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) +2598 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) +1483 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) +374 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +286 System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.b__0(DbCommand t, DbCommandInterceptionContext`1 c) +10 System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch(TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) +72 System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.NonQuery(DbCommand command, DbCommandInterceptionContext interceptionContext) +356 System.Data.Entity.Internal.InterceptableDbCommand.ExecuteNonQuery() +103 System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues) +588 System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() +139 [UpdateException: An error occurred while updating the entries. See the inner exception for details.] System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() +319 System.Data.Entity.Core.EntityClient.Internal.EntityAdapter.b__2(UpdateTranslator ut) +9 System.Data.Entity.Core.EntityClient.Internal.EntityAdapter.Update(T noChangesResult, Func`2 updateFunction) +120 System.Data.Entity.Core.EntityClient.Internal.EntityAdapter.Update() +77 System.Data.Entity.Core.Objects.ObjectContext.b__35() +11 System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction(Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) +288 System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) +163 System.Data.Entity.Core.Objects.c__DisplayClass2a.b__27() +22 System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute(Func`1 operation) +164 System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) +222 System.Data.Entity.Core.Objects.ObjectContext.SaveChanges(SaveOptions options) +7 System.Data.Entity.Internal.InternalContext.SaveChanges() +114 [DbUpdateException: An error occurred while updating the entries. See the inner exception for details.] System.Data.Entity.Internal.InternalContext.SaveChanges() +199 System.Data.Entity.Internal.LazyInternalContext.SaveChanges() +27 System.Data.Entity.DbContext.SaveChanges() +20 KeZoForFileNab.MvcApplication.Application_BeginRequest(Object sender, EventArgs e) +3917 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +141 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +71
     
    

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3190.0

 

 براي توضيحات بيشتر و دانلود بر روي عنوان زير کليک کنيد

پاورپوينت طرح پروگرسا چيست

 

پاورپوینت طرح پروگرسا چیست

system ,data ,boolean ,entity ,the ,core ,system data ,data entity ,entity core ,data sqlclient ,duplicate key ,data sqlclient sqlcommand ,core objects objectcontext ,cannot insert duplicate ,data entity internal

مشخصات

آخرین مطالب این وبلاگ

آخرین ارسال ها

آخرین جستجو ها

Cafe Ketab کافه کتاب بوستان ملت رشت. 52440288 مجله دلتا نقشه برداری | انجام پیمانکاری نقشه برداری اطلاعات پزشکی و سلامت دخترونه Download talaq مطالب اینترنتی سپهرداد