Advertisement
Guest User

Untitled

a guest
Oct 8th, 2016
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. Microsoft.EntityFrameworkCore.Query.Internal.MySqlQueryCompilationContextFactory:Error: An exception occurred in the database while iterating the results of a query.
  2. System.InvalidOperationException: Sequence contains more than one matching element
  3. at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
  4. at Microsoft.EntityFrameworkCore.Query.Sql.Internal.FromSqlNonComposedQuerySqlGenerator.CreateValueBufferFactory(IRelationalValueBufferFactoryFactory relationalValueBufferFactoryFactory, DbDataReader dataReader)
  5. at Microsoft.EntityFrameworkCore.Internal.NonCapturingLazyInitializer.EnsureInitialized[TParam,TValue](TValue& target, TParam param, Func`2 valueFactory)
  6. at Microsoft.EntityFrameworkCore.Query.Internal.ShaperCommandContext.NotifyReaderCreated(DbDataReader dataReader)
  7. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable.AsyncEnumerator.<MoveNext>d__8.MoveNext()
  8. --- End of stack trace from previous location where exception was thrown ---
  9. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  10. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  11. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.SelectAsyncEnumerable`2.SelectAsyncEnumerator.<MoveNext>d__4.MoveNext()
  12. --- End of stack trace from previous location where exception was thrown ---
  13. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  14. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  15. at Microsoft.EntityFrameworkCore.Query.Internal.MySqlAsyncQueryingEnumerable`1.MySqlAsyncEnumerator.<MoveNext>d__5.MoveNext()
  16. --- End of stack trace from previous location where exception was thrown ---
  17. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  18. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  19. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement