c# - Why is TransactionScope causing problems using Entity Framework? -
I have a problem relating to the scope, I know that some local transaction, probably MSDTC (I do not know too much Is about it) Other project developer (similar codebase, committed everything) implements the whole solution, but when I try to get some data from the database (always), I have the following error:. The underlying provider failed on EnlistTransaction. System.Data.Objects on System.Data.Objects.ObjectQuery`1.GetResults on System.Data.EntityClient.EntityConnection.EnlistTransaction (Transaction transaction) (System.Data.Objects.ObjectContext.EnsureConnection) (Nullable` 1 forMergeOption) .ObjectQuery`1.System.Collections.Generic.IEnumerable & LT; T & gt; .GetEnumerator () System.Linq.Enumerable.First [TSource] & LT on System.Data.Objects.ELinq.ObjectQueryProvider on (IEnumerable`1 source); GetElementFunction & gt; b__0 [TResult] System.Data.Objects.ELinq.ObjectQueryProvider.ExecuteSingle [TResult] on System.Data.Objects.ELinq.ObjectQueryProvider.Syste...