!dumpstack -EE OS Thread Id: 0xc04c (81) Current frame: Child-SP RetAddr Caller, Callee 0000004703816c18 000007fc80862f06 (MethodDesc 000007fc804bb240 +0x46 System.Security.CodeAccessSecurityEngine.Assert(System.Security.CodeAccessPermission, System.Threading.StackCrawlMark ByRef)) 00000047038170b0 000007fc808b6556 (MethodDesc 000007fc804bd758 +0xd6 System.Security.PermissionToken.FindToken(System.Type)) 00000047038176a8 000007fc80862f06 (MethodDesc 000007fc804bb240 +0x46 System.Security.CodeAccessSecurityEngine.Assert(System.Security.CodeAccessPermission, System.Threading.StackCrawlMark ByRef)) 0000004703817e88 000007fc80862f06 (MethodDesc 000007fc804bb240 +0x46 System.Security.CodeAccessSecurityEngine.Assert(System.Security.CodeAccessPermission, System.Threading.StackCrawlMark ByRef)) 00000047038182e0 000007fc808b6556 (MethodDesc 000007fc804bd758 +0xd6 System.Security.PermissionToken.FindToken(System.Type)) 0000004703818440 000007fc808b6556 (MethodDesc 000007fc804bd758 +0xd6 System.Security.PermissionToken.FindToken(System.Type)) 0000004703818f90 000007fc808cd999 (MethodDesc 000007fc803ce908 +0x29 System.Security.PermissionSet.RemovePermissionImpl(System.Type)) 0000004703819980 000007fc80828121 (MethodDesc 000007fc804ac6c0 +0x41 System.RuntimeType.IsAssignableFrom(System.Type)) 00000047038199d0 000007fc80879ac5 (MethodDesc 000007fc804ac9b0 +0x645 System.RuntimeType.CreateInstanceImpl(System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, System.Object[], System.Threading.StackCrawlMark ByRef)) 0000004703819a90 000007fc80879466 (MethodDesc 000007fc804b5238 +0xc6 System.Activator.CreateInstance(System.Type, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, System.Object[])) 0000004703819ba0 000007fc808ce542 (MethodDesc 000007fc803cead8 +0x92 System.Security.PermissionSet.CopyWithNoIdentityPermissions()) 000000470381c6a0 000007fc31a02ea3 (MethodDesc 000007fc341ffaa0 +0x113 System.Linq.Enumerable+WhereSelectEnumerableIterator`2[[System.__Canon, mscorlib],[System.Guid, mscorlib]].MoveNext()) 000000470381c6c0 000007fc31a03079 (MethodDesc 000007fc341ff4a0 +0x19 System.Linq.Enumerable+Iterator`1[[System.Guid, mscorlib]].System.Collections.IEnumerable.GetEnumerator()) 000000470381c6e0 000007fc7eb50c4e (MethodDesc 000007fc7e894c88 +0x16e System.Linq.Enumerable.FirstOrDefault[[System.__Canon, mscorlib]](System.Collections.Generic.IEnumerable`1)) 000000470381c700 000007fc337b13b8 (MethodDesc 000007fc33789380 +0x158 System.Data.Entity.Core.Objects.ELinq.ExpressionConverter+ConstantTranslator.TypedTranslate(System.Data.Entity.Core.Objects.ELinq.ExpressionConverter, System.Linq.Expressions.ConstantExpression)) 000000470381c790 000007fc337b07fe (MethodDesc 000007fc3375e2b8 +0xae System.Data.Entity.Core.Objects.ELinq.ExpressionConverter.TranslateExpression(System.Linq.Expressions.Expression)) 000000470381c7b0 000007fc7eb3c9a0 (MethodDesc 000007fc7e9c7398 +0x40 System.Linq.Expressions.Expression.ReturnReadOnly[[System.__Canon, mscorlib]](System.Collections.Generic.IList`1 ByRef)) 000000470381c7d0 000007fc8084cf44 (MethodDesc 000007fc804ae228 +0x34 System.Collections.Generic.ObjectEqualityComparer`1[[System.__Canon, mscorlib]].Equals(System.__Canon, System.__Canon)) 000000470381c7f0 000007fc337b0a40 (MethodDesc 000007fc337e9548 +0x50 System.Data.Entity.Core.Objects.ELinq.ExpressionConverter+MethodCallTranslator+OneLambdaTranslator.Translate(System.Data.Entity.Core.Objects.ELinq.ExpressionConverter, System.Linq.Expressions.MethodCallExpression, System.Data.Entity.Core.Common.CommandTrees.DbExpression ByRef, System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding ByRef, System.Data.Entity.Core.Common.CommandTrees.DbExpression ByRef)) 000000470381c850 000007fc337b09cd (MethodDesc 000007fc337e9540 +0x3d System.Data.Entity.Core.Objects.ELinq.ExpressionConverter+MethodCallTranslator+OneLambdaTranslator.Translate(System.Data.Entity.Core.Objects.ELinq.ExpressionConverter, System.Linq.Expressions.MethodCallExpression)) 000000470381c860 000007fc337b0479 (MethodDesc 000007fc33757970 +0xa9 System.Collections.Generic.Dictionary`2[[System.Data.Entity.Core.Objects.ELinq.SequenceMethod, EntityFramework],[System.__Canon, mscorlib]].FindEntry(System.Data.Entity.Core.Objects.ELinq.SequenceMethod)) 000000470381c870 000007fc336b4924 (MethodDesc 000007fc337556d0 +0x14 System.Collections.Generic.Dictionary`2[[System.__Canon, mscorlib],[System.Data.Entity.Core.Objects.ELinq.SequenceMethod, EntityFramework]].TryGetValue(System.__Canon, System.Data.Entity.Core.Objects.ELinq.SequenceMethod ByRef)) 000000470381c8b0 000007fc337a48f3 (MethodDesc 000007fc3378a380 +0xd3 System.Data.Entity.Core.Objects.ELinq.ExpressionConverter+MethodCallTranslator.TypedTranslate(System.Data.Entity.Core.Objects.ELinq.ExpressionConverter, System.Linq.Expressions.MethodCallExpression)) 000000470381c930 000007fc33e788f2 (MethodDesc 000007fc33788830 +0x132 System.Data.Entity.Core.Objects.ELinq.ExpressionConverter+BinaryTranslator.TypedTranslate(System.Data.Entity.Core.Objects.ELinq.ExpressionConverter, System.Linq.Expressions.BinaryExpression)) 000000470381c9d0 000007fc337b07fe (MethodDesc 000007fc3375e2b8 +0xae System.Data.Entity.Core.Objects.ELinq.ExpressionConverter.TranslateExpression(System.Linq.Expressions.Expression)) 000000470381ca30 000007fc337cb2be (MethodDesc 000007fc3375e268 +0x7e System.Data.Entity.Core.Objects.ELinq.ExpressionConverter.TranslateLambda(System.Linq.Expressions.LambdaExpression, System.Data.Entity.Core.Common.CommandTrees.DbExpression)) 000000470381ca80 000007fc337b0adb (MethodDesc 000007fc337e9548 +0xeb System.Data.Entity.Core.Objects.ELinq.ExpressionConverter+MethodCallTranslator+OneLambdaTranslator.Translate(System.Data.Entity.Core.Objects.ELinq.ExpressionConverter, System.Linq.Expressions.MethodCallExpression, System.Data.Entity.Core.Common.CommandTrees.DbExpression ByRef, System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding ByRef, System.Data.Entity.Core.Common.CommandTrees.DbExpression ByRef)) 000000470381cae0 000007fc337b09cd (MethodDesc 000007fc337e9540 +0x3d System.Data.Entity.Core.Objects.ELinq.ExpressionConverter+MethodCallTranslator+OneLambdaTranslator.Translate(System.Data.Entity.Core.Objects.ELinq.ExpressionConverter, System.Linq.Expressions.MethodCallExpression)) 000000470381caf0 000007fc337b0479 (MethodDesc 000007fc33757970 +0xa9 System.Collections.Generic.Dictionary`2[[System.Data.Entity.Core.Objects.ELinq.SequenceMethod, EntityFramework],[System.__Canon, mscorlib]].FindEntry(System.Data.Entity.Core.Objects.ELinq.SequenceMethod)) 000000470381cb00 000007fc336b4924 (MethodDesc 000007fc337556d0 +0x14 System.Collections.Generic.Dictionary`2[[System.__Canon, mscorlib],[System.Data.Entity.Core.Objects.ELinq.SequenceMethod, EntityFramework]].TryGetValue(System.__Canon, System.Data.Entity.Core.Objects.ELinq.SequenceMethod ByRef)) 000000470381cb40 000007fc337a48f3 (MethodDesc 000007fc3378a380 +0xd3 System.Data.Entity.Core.Objects.ELinq.ExpressionConverter+MethodCallTranslator.TypedTranslate(System.Data.Entity.Core.Objects.ELinq.ExpressionConverter, System.Linq.Expressions.MethodCallExpression)) 000000470381cbc0 000007fc336bbf12 (MethodDesc 000007fc3375e088 +0xa2 System.Data.Entity.Core.Objects.ELinq.ExpressionConverter.Convert()) 000000470381cbd0 000007fc336b6f5a (MethodDesc 000007fc33752c98 +0x5a System.Data.Entity.Core.Objects.ELinq.ELinqQueryState.CreateExpressionConverter()) 000000470381cc20 000007fc336b6818 (MethodDesc 000007fc33752c38 +0x128 System.Data.Entity.Core.Objects.ELinq.ELinqQueryState.GetExecutionPlan(System.Nullable`1)) 000000470381cce0 000007fc336b64bf (MethodDesc 000007fc3375d5c0 +0x2f System.Data.Entity.Core.Objects.ObjectContext.EnsureContextIsEnlistedInCurrentTransaction[[System.Boolean, mscorlib]](System.Transactions.Transaction, System.Func`1, Boolean)) 000000470381ccf0 000007fc80872f3e (MethodDesc 000007fc804b4498 +0x1e System.MulticastDelegate.CtorClosed(System.Object, IntPtr)) 000000470381cd50 000007fc34294651 (MethodDesc 000007fc342fffb0 +0x21 System.Data.Entity.Core.Objects.ObjectQuery`1+<>c__DisplayClass7[[System.Boolean, mscorlib]].b__6()) 000000470381cd90 000007fc336b5b20 (MethodDesc 000007fc3375d248 +0x110 System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[[System.__Canon, mscorlib]](System.Func`1, System.Data.Entity.Infrastructure.IDbExecutionStrategy, Boolean, Boolean)) 000000470381ce60 000007fc3369d0e2 (MethodDesc 000007fc333d4ef8 +0x12 System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace.GetItemCollection(System.Data.Entity.Core.Metadata.Edm.DataSpace)) 000000470381ced0 000007fc3429441a (MethodDesc 000007fc342fffa8 +0xaa System.Data.Entity.Core.Objects.ObjectQuery`1+<>c__DisplayClass7[[System.Boolean, mscorlib]].b__5()) 000000470381cf00 000007fc8117aacb (MethodDesc 000007fc803d2390 +0x3b System.Collections.Concurrent.ConcurrentDictionary`2[[System.__Canon, mscorlib],[System.__Canon, mscorlib]].GetOrAdd(System.__Canon, System.Func`2)) 000000470381cf10 000007fc3335b0e6 (MethodDesc 000007fc32353cb0 +0x46 System.Data.Entity.Infrastructure.ExecutionStrategyKey..ctor(System.String, System.String)) 000000470381cf40 000007fc3335baab (MethodDesc 000007fc3345a9f0 +0x3b System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[[System.__Canon, mscorlib]](System.Func`1)) 000000470381cf80 000007fc336b572a (MethodDesc 000007fc323380b8 +0x4a System.Data.Entity.Core.Common.DbProviderServices.GetExecutionStrategy(System.Data.Common.DbConnection, System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace)) 000000470381cfb0 000007fc3429423c (MethodDesc 000007fc342febe0 +0x10c System.Data.Entity.Core.Objects.ObjectQuery`1[[System.Boolean, mscorlib]].GetResults(System.Nullable`1)) 000000470381d000 000007fc34293b8b (MethodDesc 000007fc342febf8 +0xb System.Data.Entity.Core.Objects.ObjectQuery`1[[System.Boolean, mscorlib]]..GetEnumerator>b__0()) 000000470381d020 000007fc808716dc (MethodDesc 000007fc804b44c8 +0x1c System.MulticastDelegate.CtorOpened(System.Object, IntPtr, IntPtr)) 000000470381d030 000007fc34293ad2 (MethodDesc 000007fc342ffcb8 +0x32 System.Data.Entity.Internal.LazyEnumerator`1[[System.Boolean, mscorlib]].MoveNext()) 000000470381d040 000007fc34293a1c (MethodDesc 000007fc342feb70 +0x9c System.Data.Entity.Core.Objects.ObjectQuery`1[[System.Boolean, mscorlib]].System.Collections.Generic.IEnumerable.GetEnumerator()) 000000470381d080 000007fc319ffeec (MethodDesc 000007fc32ef0220 +0xbc System.Linq.Enumerable.Single[[System.Boolean, mscorlib]](System.Collections.Generic.IEnumerable`1)) 000000470381d0e0 000007fc7ed401e8 (MethodDesc 000007fc7e9d3448 +0x1c8 System.Linq.Queryable.Any[[System.__Canon, mscorlib]](System.Linq.IQueryable`1, System.Linq.Expressions.Expression`1>)) 000000470381d150 000007fc34a73099 (MethodDesc 000007fc3304c9e8 +0x2229 MyCompany.Business.Queries.Catalog.CatalogQuery.Execute(System.Linq.IQueryable`1, System.Linq.IQueryable`1, MyCompany.Business.Models.Course.CatalogSummaryOptions))