System.ObjectDisposedException: Cannot write to a closed TextWriter.
at System.IO.__Error.WriterClosed()
at System.IO.StringWriter.Write(String value)
at RazorEngine.Templating.TemplateBase.WriteLiteralTo(TextWriter writer, String literal)
at RazorEngine.Templating.TemplateBase.WritePositionTaggedLiteral(TextWriter writer, PositionTagged`1 value)
at RazorEngine.Templating.TemplateBase.WriteAttributeTo(TextWriter writer, String name, PositionTagged`1 prefix, PositionTagged`1 suffix, AttributeValue[] values)
at RazorEngine.Templating.TemplateBase.WriteAttribute(String name, PositionTagged`1 prefix, PositionTagged`1 suffix, AttributeValue[] values)
at CompiledRazorTemplates.Dynamic.cafaeeacadaade.Execute()
at RazorEngine.Templating.TemplateBase.Run(ExecuteContext context)
at System.Web.Mvc.HtmlTemplateBase`1.Run(ExecuteContext context)
at CMS.Core.ITemplateExtensions.Run[T](ITemplate template, T Model)
at CMS.Core.ITemplateExtensions.Parse[T](String template, T Model)