logo

ANDRIY.CO Support Forum / Форум техподдержки ANDRIY.CO

Домашняя страница http://andriy.co

Добро пожаловать, Гость! Чтобы использовать все возможности Вход или Регистрация.

Уведомление

Icon
Error

Опции
К последнему сообщению К первому непрочитанному
Андрейhdstyle  
#1 Оставлено : 18 июня 2019 г. 11:10:56(UTC)
Андрейhdstyle

Статус: Новичок

Репутация:

Группы: Зарегистрированный участник
Зарегистрирован: 18.06.2019(UTC)
Сообщений: 1
Украина
Откуда: Киев

<ExceptionData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Message>An error occurred while updating the entries. See the inner exception for details.</Message>
<InnerMessage>The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Documents_CommercialAgentExtentions_CommercialAgentId". The conflict occurred in database "Tcu5Db134", table "dbo.CommercialAgentExtentions", column 'CommercialAgentId'.
The statement has been terminated.</InnerMessage>
<Source>Microsoft.EntityFrameworkCore.Relational</Source>
<ClassName>Microsoft.EntityFrameworkCore.DbUpdateException</ClassName>
<StackTrace> at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(DbContext _, ValueTuple`2 parameters)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1 commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IReadOnlyList`1 entries)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(IReadOnlyList`1 entriesToSave)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess)
at AndriyCo.Tcu5.Data.TcuContext.SaveChanges() in C:\MainProjects\Tcu5_2018\AndriyCo.Tcu5.Data\Contexts\Tcu\TcuContext.vb:line 220
at AndriyCo.Tcu5.Data.GoodsDocument.DetailsUpdate(IEnumerable`1 documentDetailProxies) in C:\MainProjects\Tcu5_2018\AndriyCo.Tcu5.Data\Documents\GoodsDocuments\GoodsDocument.vb:line 76
at AndriyCo.Tcu5.Data.GoodsDocument.FromProxy(DocumentProxy documentProxy) in C:\MainProjects\Tcu5_2018\AndriyCo.Tcu5.Data\Documents\GoodsDocuments\GoodsDocument.vb:line 71
at AndriyCo.Tcu5.Data.OuterGoodsDocument.FromProxy(DocumentProxy documentProxy) in C:\MainProjects\Tcu5_2018\AndriyCo.Tcu5.Data\Documents\GoodsDocuments\OuterGoodsDocuments\OuterGoodsDocument.vb:line 123
at AndriyCo.Tcu5.Data.SalesGoodsDocument.FromProxy(DocumentProxy documentProxy) in C:\MainProjects\Tcu5_2018\AndriyCo.Tcu5.Data\Documents\GoodsDocuments\OuterGoodsDocuments\Sales\SalesGoodsDocument.vb:line 48
at AndriyCo.Tcu5.Data.Document.Update(TcuContext tcuContext, DocumentProxy prxItem) in C:\MainProjects\Tcu5_2018\AndriyCo.Tcu5.Data\Documents\Document.vb:line 204
at Tcu5Server.Controllers.Documents.DocumentsController.Update(String authorization, DocumentProxy documentProxy) in C:\MainProjects\Tcu5_2018\Tcu5Server\Controllers\Documents\DocumentsController.cs:line 223
Client App Stack Trace: в AndriyCo.Web.Channel.&lt;ExchangeOperationAsync&gt;d__37.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в AndriyCo.Web.Channel.&lt;UpdateAsync&gt;d__41.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в AndriyCo.Tcu5.DataSources.EditorDataSource.VB$StateMachine_15_InnerUpdateAsync.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в AndriyCo.Tcu5.DataSources.EditorDataSource.VB$StateMachine_14_UpdateAsync.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в AndriyCo.Tcu5.DataSources.DocumentEditorDataSource.VB$StateMachine_20_UpdateAsync.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в AndriyCo.Tcu5.EditorForm.VB$StateMachine_175_DataSourceUpdateAsync.MoveNext() в C:\MainProjects\Tcu5_2018\TCU5Client\Editors\EditorForm.vb:строка 323
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в AndriyCo.Tcu5.EditorForm.VB$StateMachine_176_SaveAsync.MoveNext() в C:\MainProjects\Tcu5_2018\TCU5Client\Editors\EditorForm.vb:строка 331
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в AndriyCo.Tcu5.EditorForm.VB$StateMachine_172_btnSaveAndClose_ItemClick.MoveNext() в C:\MainProjects\Tcu5_2018\TCU5Client\Editors\EditorForm.vb:строка 279</StackTrace>
<Version>Tcu5Server, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
AndriyCo.Tcu5.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
AndriyCo.BaseLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Client App Version: 5.0.7033</Version>
<ExceptionDataType>AndriyCo.Web.ExceptionData</ExceptionDataType>
<ExceptionDataBaseType>System.Object</ExceptionDataBaseType>
</ExceptionData>
Пользователи, просматривающие эту тему
Быстрый переход  
Вы не можете создавать новые темы в этом форуме.
Вы не можете отвечать в этом форуме.
Вы не можете удалять Ваши сообщения в этом форуме.
Вы не можете редактировать Ваши сообщения в этом форуме.
Вы не можете создавать опросы в этом форуме.
Вы не можете голосовать в этом форуме.

Форум YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
Страница сгенерирована за 0.095 секунды.