Advertisement
DarkokraD

Untitled

Jan 21st, 2022
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.92 KB | None | 0 0
  1. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: [18:08:59 ERR] An error occurred while saving the entity changes. See the inner exception for details.
  2. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
  3. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: ---> Npgsql.PostgresException (0x80004005): 23503: update or delete on table "CrewMembers" violates foreign key constraint "FK_Authorizations_CrewMembers_CrewMemberId" on table "Authorizations"
  4. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: DETAIL: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information.
  5. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Npgsql.Internal.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|213_0(NpgsqlConnector connector, Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
  6. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
  7. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
  8. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: Exception data:
  9. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: Severity: ERROR
  10. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: SqlState: 23503
  11. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: MessageText: update or delete on table "CrewMembers" violates foreign key constraint "FK_Authorizations_CrewMembers_CrewMemberId" on table "Authorizations"
  12. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: Detail: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information.
  13. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: SchemaName: public
  14. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: TableName: Authorizations
  15. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: ConstraintName: FK_Authorizations_CrewMembers_CrewMemberId
  16. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: File: ri_triggers.c
  17. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: Line: 2476
  18. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: Routine: ri_ReportViolation
  19. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: --- End of inner exception stack trace ---
  20. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
  21. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
  22. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
  23. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
  24. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
  25. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
  26. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
  27. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
  28. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
  29. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
  30. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
  31. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at NCDB.Data.Services.CrewMemberService.DeleteAsync(Guid guid, AppUser user) in /home/ncdb-at-admin/ncdb/NCDB.Data/Services/CrewMemberService.cs:line 218
  32. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at NCDB.Controllers.CrewMembersController.DeleteCrewMember(Guid guid) in /home/ncdb-at-admin/ncdb/NCDB/Controllers/CrewMembersController.cs:line 99
  33. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
  34. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
  35. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  36. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
  37. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
  38. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  39. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  40. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
  41. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
  42. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  43. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
  44. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
  45. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
  46. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
  47. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
  48. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
  49. Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at NCDB.Extensions.ExceptionMiddlewareExtensions.ExceptionMiddleware.InvokeAsync(HttpContext httpContext) in /home/ncdb-at-admin/ncdb/NCDB/Extensions/ExceptionMiddlewareExtensions.cs:line 39
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement