Server Error in '/' Application.

Exception of type 'System.OutOfMemoryException' was thrown.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes) +96
   System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +529
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.Visit(VarDefOp op, Node n) +64
   System.Data.Entity.Core.Query.InternalTrees.VarDefOp.Accept(BasicOpVisitorOfT`1 v, Node n) +15
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.CopyNode(Node n) +36
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.ProcessChildren(Node n) +133
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.Visit(VarDefListOp op, Node n) +34
   System.Data.Entity.Core.Query.InternalTrees.VarDefListOp.Accept(BasicOpVisitorOfT`1 v, Node n) +15
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.CopyNode(Node n) +36
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.ProcessChildren(Node n) +133
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.Visit(ProjectOp op, Node n) +23
   System.Data.Entity.Core.Query.InternalTrees.ProjectOp.Accept(BasicOpVisitorOfT`1 v, Node n) +15
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.CopyNode(Node n) +36
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.ProcessChildren(Node n) +133
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.Visit(FilterOp op, Node n) +32
   System.Data.Entity.Core.Query.InternalTrees.FilterOp.Accept(BasicOpVisitorOfT`1 v, Node n) +15
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.CopyNode(Node n) +36
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.ProcessChildren(Node n) +133
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.Visit(OuterApplyOp op, Node n) +32
   System.Data.Entity.Core.Query.InternalTrees.OuterApplyOp.Accept(BasicOpVisitorOfT`1 v, Node n) +15
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.CopyNode(Node n) +36
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.ProcessChildren(Node n) +133
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.Visit(OuterApplyOp op, Node n) +32
   System.Data.Entity.Core.Query.InternalTrees.OuterApplyOp.Accept(BasicOpVisitorOfT`1 v, Node n) +15
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.CopyNode(Node n) +36
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.ProcessChildren(Node n) +133
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.Visit(ProjectOp op, Node n) +23
   System.Data.Entity.Core.Query.InternalTrees.ProjectOp.Accept(BasicOpVisitorOfT`1 v, Node n) +15
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.CopyNode(Node n) +36
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.ProcessChildren(Node n) +133
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.Visit(PhysicalProjectOp op, Node n) +23
   System.Data.Entity.Core.Query.InternalTrees.PhysicalProjectOp.Accept(BasicOpVisitorOfT`1 v, Node n) +15
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.CopyNode(Node n) +36
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.ProcessChildren(Node n) +133
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.Visit(CollectOp op, Node n) +47
   System.Data.Entity.Core.Query.InternalTrees.CollectOp.Accept(BasicOpVisitorOfT`1 v, Node n) +15
   System.Data.Entity.Core.Query.InternalTrees.OpCopier.CopyNode(Node n) +36
   System.Data.Entity.Core.Query.PlanCompiler.NominalTypeEliminator.BuildAccessor(Node input, EdmProperty property) +198
   System.Data.Entity.Core.Query.PlanCompiler.NominalTypeEliminator.FlattenComputedVar(ComputedVar v, Node node, List`1& newNodes, TypeUsage& newType) +619
   System.Data.Entity.Core.Query.PlanCompiler.NominalTypeEliminator.Visit(VarDefListOp op, Node n) +303
   System.Data.Entity.Core.Query.InternalTrees.VarDefListOp.Accept(BasicOpVisitorOfT`1 v, Node n) +15
   System.Data.Entity.Core.Query.InternalTrees.BasicOpVisitorOfT`1.VisitNode(Node n) +56
   System.Data.Entity.Core.Query.InternalTrees.BasicOpVisitorOfNode.VisitChildren(Node n) +55
   System.Data.Entity.Core.Query.PlanCompiler.NominalTypeEliminator.Visit(ProjectOp op, Node n) +22
   System.Data.Entity.Core.Query.InternalTrees.ProjectOp.Accept(BasicOpVisitorOfT`1 v, Node n) +15
   System.Data.Entity.Core.Query.InternalTrees.BasicOpVisitorOfT`1.VisitNode(Node n) +56
   System.Data.Entity.Core.Query.InternalTrees.BasicOpVisitorOfNode.VisitChildren(Node n) +55
   System.Data.Entity.Core.Query.PlanCompiler.NominalTypeEliminator.Visit(ConstrainedSortOp op, Node n) +24
   System.Data.Entity.Core.Query.InternalTrees.ConstrainedSortOp.Accept(BasicOpVisitorOfT`1 v, Node n) +15
   System.Data.Entity.Core.Query.InternalTrees.BasicOpVisitorOfT`1.VisitNode(Node n) +56
   System.Data.Entity.Core.Query.InternalTrees.BasicOpVisitorOfNode.VisitChildren(Node n) +55
   System.Data.Entity.Core.Query.PlanCompiler.NominalTypeEliminator.Visit(PhysicalProjectOp op, Node n) +24
   System.Data.Entity.Core.Query.InternalTrees.PhysicalProjectOp.Accept(BasicOpVisitorOfT`1 v, Node n) +15
   System.Data.Entity.Core.Query.PlanCompiler.NominalTypeEliminator.Process() +299
   System.Data.Entity.Core.Query.PlanCompiler.NominalTypeEliminator.Process(PlanCompiler compilerState, StructuredTypeInfo structuredTypeInfo, Dictionary`2 tvfResultKeys) +76
   System.Data.Entity.Core.Query.PlanCompiler.PlanCompiler.Compile(List`1& providerCommands, ColumnMap& resultColumnMap, Int32& columnCount, Set`1& entitySets) +414
   System.Data.Entity.Core.Query.PlanCompiler.PlanCompiler.Compile(DbCommandTree ctree, List`1& providerCommands, ColumnMap& resultColumnMap, Int32& columnCount, Set`1& entitySets) +65
   System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition..ctor(DbProviderFactory storeProviderFactory, DbCommandTree commandTree, DbInterceptionContext interceptionContext, IDbDependencyResolver resolver, BridgeDataReaderFactory bridgeDataReaderFactory, ColumnMapFactory columnMapFactory) +1421
   System.Data.Entity.Core.EntityClient.Internal.EntityProviderServices.CreateDbCommandDefinition(DbProviderManifest providerManifest, DbCommandTree commandTree, DbInterceptionContext interceptionContext) +103
   System.Data.Entity.Core.Common.DbProviderServices.CreateCommandDefinition(DbCommandTree commandTree, DbInterceptionContext interceptionContext) +127
   System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlanFactory.CreateCommandDefinition(ObjectContext context, DbQueryCommandTree tree) +151
   System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlanFactory.Prepare(ObjectContext context, DbQueryCommandTree tree, Type elementType, MergeOption mergeOption, Boolean streaming, Span span, IEnumerable`1 compiledQueryParameters, AliasGenerator aliasGenerator) +162
   System.Data.Entity.Core.Objects.ELinq.ELinqQueryState.GetExecutionPlan(Nullable`1 forMergeOption) +1029
   System.Data.Entity.Core.Objects.<>c__DisplayClass7.<GetResults>b__6() +39
   System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction(Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) +288
   System.Data.Entity.Core.Objects.<>c__DisplayClass7.<GetResults>b__5() +142
   System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute(Func`1 operation) +9
   System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) +279
   System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0() +11
   System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() +45
   System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source) +168
   System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.<GetElementFunction>b__1(IEnumerable`1 sequence) +40
   System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.ExecuteSingle(IEnumerable`1 query, Expression queryRoot) +60
   System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute(Expression expression) +113
   System.Data.Entity.Internal.Linq.DbQueryProvider.Execute(Expression expression) +99
   System.Linq.Queryable.FirstOrDefault(IQueryable`1 source, Expression`1 predicate) +260
   Site_Articles_Detail.Page_Load(Object sender, EventArgs e) +960
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0