System.ObjectDisposedException: Cannot write to a closed TextWriter.
at System.IO.__Error.WriterClosed()
at System.IO.StringWriter.Write(String value)
at CompiledRazorTemplates.Dynamic.bfdabfabe.Execute()
at RazorEngine.Templating.TemplateBase.Run(ExecuteContext context) in D:\Working Folder\USA Work Haider\Project\CMS\RazorEngine\Templating\TemplateBase.cs:line 129
at System.Web.Mvc.HtmlTemplateBase`1.Run(ExecuteContext context) in D:\Working Folder\USA Work Haider\Project\CMS\CMS.Data\Core\HtmlTemplateBase.cs:line 116
at CMS.Core.ITemplateExtensions.Run[T](ITemplate template, T Model) in D:\Working Folder\USA Work Haider\Project\CMS\CMS.Data\Core\Extension\TemplateExtensions.cs:line 38
at CMS.Core.ITemplateExtensions.Parse[T](String template, T Model) in D:\Working Folder\USA Work Haider\Project\CMS\CMS.Data\Core\Extension\TemplateExtensions.cs:line 102