Full Screen

A second operation started on this context before a previous operation completed

This solution is helpful, I Like it. 64 Views: 3373

In this video I will demonstrate how to solve the error that says, InvalidOperationException: A second operation started on this context before a previous operation completed. This is usually caused by different threads using the same instance of DbContext, however instance members are not guaranteed to be thread safe. This could also be caused by a nested query being evaluated on the client, if this is the case rewrite the query avoiding nested invocations.

InvalidOperationException, EF Core 6,Database Context,

If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.

Jim said:

Thank you for the tip.

Posted On: March 29, 2022 2:59:37 AM
Mark said:

Thank you

Posted On: January 06, 2022 18:43:39 PM

Loading...

© 2024 - ErnesTech - Privacy
E-Commerce Return Policy