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 77:     protected void SetupControl()
Line 78:     {
Line 79:         if (this.StopProcessing)
Line 80:         {
Line 81:             // Do not process

Source File: c:\Data\Web\Sites\Kentico\CMSWebParts\Text\staticHTML.ascx.cs    Line: 79

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.Text.RegularExpressions.RegexRunner.InitMatch() +97
   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.Regex.Match(String input, Int32 startat) +32
   System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat) +88
   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.MacroResolver.ResolveMacros(String inputText, Int32 recursionLevel) in C:\Projects\Kentico\GlobalHelper\Markup\MacroResolver.cs:862
   CMS.GlobalHelper.MacroResolver.ResolveMacros(String inputText, Boolean avoidInjection, Boolean enableRecursion) in C:\Projects\Kentico\GlobalHelper\Markup\MacroResolver.cs:778
   CMS.GlobalHelper.MacroResolver.ResolveMacros(String inputText, Boolean avoidInjection) in C:\Projects\Kentico\GlobalHelper\Markup\MacroResolver.cs:793
   CMS.PortalControls.CMSAbstractWebPart.ResolveMacros(String inputText, Boolean avoidInjection) in C:\Projects\Kentico\CMSPortalControls\WebParts\CMSAbstractWebPart.cs:2072
   CMS.PortalControls.CMSAbstractWebPart.GetValue(String propertyName) in C:\Projects\Kentico\CMSPortalControls\WebParts\CMSAbstractWebPart.cs:1230
   CMS.PortalControls.CMSAbstractWebPart.get_IsVisible() in C:\Projects\Kentico\CMSPortalControls\WebParts\CMSAbstractWebPart.cs:1071
   CMS.PortalControls.CMSAbstractWebPart.get_HideOnCurrentPage() in C:\Projects\Kentico\CMSPortalControls\WebParts\CMSAbstractWebPart.cs:549
   CMS.PortalControls.CMSAbstractWebPart.get_StopProcessing() in C:\Projects\Kentico\CMSPortalControls\WebParts\CMSAbstractWebPart.cs:378
   CMSWebParts_Text_staticHTML.SetupControl() in c:\Data\Web\Sites\Kentico\CMSWebParts\Text\staticHTML.ascx.cs:79
   CMSWebParts_Text_staticHTML.OnContentLoaded() in c:\Data\Web\Sites\Kentico\CMSWebParts\Text\staticHTML.ascx.cs:60
   CMS.PortalControls.CMSWebPartZone.OnContentLoaded() in C:\Projects\Kentico\CMSPortalControls\Containers\CMSWebPartZone.cs:1493
   CMS.PortalControls.CMSAbstractLayout.OnContentLoaded() in C:\Projects\Kentico\CMSPortalControls\Containers\CMSAbstractLayout.cs:369
   CMS.PortalControls.CMSAbstractLayout.LoadContent(PageInfo pageInfo, Boolean reloadData, Boolean allowOrphanedZones) in C:\Projects\Kentico\CMSPortalControls\Containers\CMSAbstractLayout.cs:244
   CMS.PortalControls.CMSPagePlaceholder.LoadContent(PageInfo pageInfo, Boolean reloadData) in C:\Projects\Kentico\CMSPortalControls\Containers\CMSPagePlaceholder.cs:1289
   CMS.PortalControls.CMSPortalManager.LoadContent(Boolean reloadData) in C:\Projects\Kentico\CMSPortalControls\CMSPortalManager.cs:1670
   CMS.PortalControls.CMSPortalManager.CMSPortalManager_Init(Object sender, EventArgs e) in C:\Projects\Kentico\CMSPortalControls\CMSPortalManager.cs:1513
   System.Web.UI.Control.OnInit(EventArgs e) +99
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378


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