Skip to content

Demo Mode not working #3

@decvs

Description

@decvs

Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException
HResult=0x80131500
Nachricht = Database operation expected to affect 1 row(s) but actually affected 0 row(s). Data may have been modified or deleted since entities were loaded. See http://go.microsoft.com/fwlink/?LinkId=527962 for information on understanding and handling optimistic concurrency exceptions.
Quelle = Microsoft.EntityFrameworkCore.Relational
Stapelüberwachung:
bei Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ThrowAggregateUpdateConcurrencyException(Int32 commandIndex, Int32 expectedRowsAffected, Int32 rowsAffected)
bei Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.d__6.MoveNext()
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.d__2.MoveNext()
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.d__35.MoveNext()
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.d__10.MoveNext()
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.d__82.MoveNext()
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.d__80.MoveNext()
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Microsoft.EntityFrameworkCore.DbContext.d__50.MoveNext()
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter1.GetResult() bei LunchScheduler.Repository.LunchDemoRepository.<LoginAsyc>d__27.MoveNext() in D:\source\uwp\lunch-scheduler\LunchScheduler.Repository\LunchDemoRepository.cs: Zeile323 bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bei System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
bei LunchScheduler.ViewModels.AuthenticationViewModel.d__13.MoveNext() in D:\source\uwp\lunch-scheduler\LunchScheduler\ViewModels\AuthenticationViewModel.cs: Zeile213
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.GetResult()
bei LunchScheduler.ViewModels.AuthenticationViewModel.<b__12_0>d.MoveNext() in D:\source\uwp\lunch-scheduler\LunchScheduler\ViewModels\AuthenticationViewModel.cs: Zeile207
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.GetResult()
bei LunchScheduler.ViewModels.AuthenticationViewModel.d__12.MoveNext() in D:\source\uwp\lunch-scheduler\LunchScheduler\ViewModels\AuthenticationViewModel.cs: Zeile207

Diese Ausnahme wurde ursprünglich von dieser Aufrufliste ausgelöst:
[Externer Code]
LunchScheduler.Repository.LunchDemoRepository.LoginAsyc(LunchScheduler.Models.AuthenticationProviderKind, string) in LunchDemoRepository.cs
[Externer Code]
LunchScheduler.ViewModels.AuthenticationViewModel.GetDemoUserAsync(string) in AuthenticationViewModel.cs
[Externer Code]
LunchScheduler.ViewModels.AuthenticationViewModel.OnDemoAuthSelectedAsync.AnonymousMethod__12_0() in AuthenticationViewModel.cs
[Externer Code]
LunchScheduler.ViewModels.AuthenticationViewModel.OnDemoAuthSelectedAsync(Windows.UI.ApplicationSettings.WebAccountProviderCommand) in AuthenticationViewModel.cs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions