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 9:      <asp:Literal runat="server" ID="ltlTags" EnableViewState="false" />
Line 10: </head>
Line 11: <body class="<%=BodyClass%>" <%=BodyParameters%>>
Line 12:     <form id="form1" runat="server">
Line 13:     <asp:PlaceHolder runat="server" ID="plcManagers">

Source File: c:\Data\Web\Sites\Kentico\CMSPages\PortalTemplate.aspx    Line: 11

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.Text.RegularExpressions.RegexRunner.InitMatch() +189
   System.Text.RegularExpressions.RegexRunner.Scan(Regex regex, String text, Int32 textbeg, Int32 textend, Int32 textstart, Int32 prevlen, Boolean quick) +132
   System.Text.RegularExpressions.Regex.Run(Boolean quick, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat) +134
   System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat) +295
   System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator, Int32 count, Int32 startat) +28
   System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator) +38
   CMS.GlobalHelper.HTMLHelper.HTMLEncode(String inputText) in C:\Projects\Kentico\GlobalHelper\Markup\HTMLHelper.cs:987
   CMS.Controls.CMSListMenu.GetItems(Int32 parentNodeId, Int32 indentLevel) in C:\Projects\Kentico\CMSControls\Navigation\CMSListMenu.cs:757
   CMS.Controls.CMSListMenu.GetItems(Int32 parentNodeId, Int32 indentLevel) in C:\Projects\Kentico\CMSControls\Navigation\CMSListMenu.cs:1143
   CMS.Controls.CMSListMenu.ReloadData(Boolean forceLoad) in C:\Projects\Kentico\CMSControls\Navigation\CMSListMenu.cs:538
   CMS.Controls.CMSListMenu.Render(HtmlTextWriter output) in C:\Projects\Kentico\CMSControls\Navigation\CMSListMenu.cs:567
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   CMS.PortalControls.CMSAbstractWebPart.Render(HtmlTextWriter writer) in C:\Projects\Kentico\CMSPortalControls\WebParts\CMSAbstractWebPart.cs:1923
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   CMS.PortalControls.CMSWebPartZone.Render(HtmlTextWriter writer) in C:\Projects\Kentico\CMSPortalControls\Containers\CMSWebPartZone.cs:897
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   CMS.PortalControls.CMSPagePlaceholder.Render(HtmlTextWriter writer) in C:\Projects\Kentico\CMSPortalControls\Containers\CMSPagePlaceholder.cs:1586
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +163
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51
   System.Web.UI.Adapters.ControlAdapter.Render(HtmlTextWriter writer) +21
   CMS.OutputFilter.HtmlFormAdapter.Render(HtmlTextWriter writer) in C:\Projects\Kentico\CMSOutputFilter\Filters\HtmlFormAdapter.cs:27
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +8681769
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
   ASP.cmspages_portaltemplate_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Data\Web\Sites\Kentico\CMSPages\PortalTemplate.aspx:11
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   CMS.UIControls.ContentPage.Render(HtmlTextWriter writer) in C:\Projects\Kentico\UIControls\Pages\ContentPage.cs:309
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266


Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082