Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.
- 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.
- 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"
- 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.
- 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)
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: Exception data:
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: Severity: ERROR
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: SqlState: 23503
- 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"
- 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.
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: SchemaName: public
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: TableName: Authorizations
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: ConstraintName: FK_Authorizations_CrewMembers_CrewMemberId
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: File: ri_triggers.c
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: Line: 2476
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: Routine: ri_ReportViolation
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: --- End of inner exception stack trace ---
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
- 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)
- 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)
- 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)
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
- 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)
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
- 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
- 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
- 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)
- 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)
- 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)
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
- 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)
- 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)
- 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)
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
- Jan 21 18:08:59 ncdb-at.eu dotnet-example[156037]: at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
- 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