Akshitha
New member
- Joined
- Feb 27, 2024
- Messages
- 1
- Programming Experience
- 3-5
Any idea on the below warnings/error
System.InvalidOperationException: The configured execution strategy 'SqlServerRetryingExecutionStrategy' does not support user-initiated transactions. Use the execution strategy returned by 'DbContext.Database.CreateExecutionStrategy()' to execute all the operations in the transaction as a retriable unit.
[14:58:00 ERR] An exception occurred while iterating over the results of a query for context type 'xxxx.Repository.xxxContext'.
System.InvalidOperationException: The configured execution strategy 'SqlServerRetryingExecutionStrategy' does not support user-initiated transactions. Use the execution strategy returned by 'DbContext.Database.CreateExecutionStrategy()' to execute all the operations in the transaction as a retriable unit.
[14:58:00 ERR] An exception occurred while iterating over the results of a query for context type 'xxxx.Repository.xxxContext'.