Server Error in '/' Application.

'capacity' must be greater than zero.
Parameter name: capacity

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.ArgumentOutOfRangeException: 'capacity' must be greater than zero.
Parameter name: capacity

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:


[ArgumentOutOfRangeException: 'capacity' must be greater than zero.
Parameter name: capacity]
   System.Text.StringBuilder..ctor(String value, Int32 startIndex, Int32 length, Int32 capacity) +14587690
   CMS.OutputFilter.OutputData.ResolveSubstitutions(String html) +117
   CMS.OutputFilter.OutputData.WriteOutputToStream(Stream s, Boolean trimmed, Boolean allowSubstitutions) +176
   CMS.OutputFilter.ResponseOutputFilter.Close() +137
   System.Web.HttpWriter.FilterIntegrated(Boolean finalFiltering, IIS7WorkerRequest wr) +716
   System.Web.HttpResponse.FilterOutput() +116
   System.Web.CallFilterExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +63
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93


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