Exception of type 'System.OutOfMemoryException' was thrown.

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:


Line 177:            if (!string.IsNullOrEmpty(millabelName))
Line 178:            {
Line 179:                var currentArmurier = ArmurierInfoProvider.GetArmuriers().Where(m => $"{m.ArmurierGuid}" == millabelName).FirstOrDefault();
Line 180:                if (currentArmurier != null && !string.IsNullOrEmpty(currentArmurier.Image))
Line 181:                {

Source File: D:\HostingSpaces\Natura1\naturachasse.lu\wwwroot\NaturaChasse\new\NaturaChasse\CMS\App_Code\Chasse\ChasseSearchHelper.cs    Line: 179

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IRuntimeMethodInfo method) +0
   System.Reflection.Emit.DynamicMethod.CreateDelegate(Type delegateType, Object target) +57
   System.Linq.Expressions.Compiler.LambdaCompiler.Compile(LambdaExpression lambda, DebugInfoGenerator debugInfoGenerator) +162
   System.Linq.Expressions.Expression`1.Compile() +24
   System.Linq.EnumerableExecutor`1.Execute() +108
   System.Linq.EnumerableExecutor`1.ExecuteBoxed() +11
   CMS.DataEngine.CMSQueryProvider`1.LinqToObjectsFallback(Expression expression, IEnumerable source, IQueryable`1& result, IEnumerable newSource) +304
   CMS.DataEngine.CMSQueryProvider`1.CreateQueryInternal(Expression expression) +881
   ChasseSearchHelper.GetLogoArmurier(Object[] parameters) in D:\HostingSpaces\Natura1\naturachasse.lu\wwwroot\NaturaChasse\new\NaturaChasse\CMS\App_Code\Chasse\ChasseSearchHelper.cs:179
   Chasse_CMSWebparts_ChasseArmeRepeater.SetupControl() in D:\HostingSpaces\Natura1\naturachasse.lu\wwwroot\NaturaChasse\new\NaturaChasse\CMS\Chasse\CMSWebParts\ChasseArmeRepeater.ascx.cs:157
   Chasse_CMSWebparts_ChasseArmeRepeater.OnContentLoaded() in D:\HostingSpaces\Natura1\naturachasse.lu\wwwroot\NaturaChasse\new\NaturaChasse\CMS\Chasse\CMSWebParts\ChasseArmeRepeater.ascx.cs:46
   CMS.PortalEngine.Web.UI.CMSWebPartZone.OnContentLoaded() +157
   CMS.PortalEngine.Web.UI.CMSAbstractLayout.OnContentLoaded() +174
   CMS.PortalEngine.Web.UI.CMSAbstractLayout.LoadWebPartsContent(Boolean reloadData) +314
   CMS.PortalEngine.Web.UI.CMSAbstractLayout.LoadContent(PageInfo pageInfo, Boolean reloadData, Boolean allowOrphanedZones) +888
   CMS.PortalEngine.Web.UI.CMSPagePlaceholder.LoadContent(PageInfo pageInfo, Boolean reloadData) +2007
   CMS.PortalEngine.Web.UI.CMSPagePlaceholder.LoadContent(PageInfo pageInfo, Boolean reloadData) +2832
   CMS.PortalEngine.Web.UI.CMSPortalManager.LoadPage(Boolean reloadData) +236
   CMS.PortalEngine.Web.UI.CMSPortalManager.PageHelper_InitComplete(Object sender, EventArgs e) +29
   CMS.Base.Web.UI.PageContext.CurrentPage_InitComplete(Object sender, EventArgs e) +280
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Page.OnInitComplete(EventArgs e) +11727008
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +626


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