Enabling "Render in rich text editor and the grid" option throws error in CMS RTE
Hi,
I have used contour in many sites for our clients. For first time I am seeing this problem with "Contour". By default contour macro comes with "Render in rich text editor and the grid" option enabled. I inserted the macro in RTE, after loading sometime it throws error. Error with status of "500" in "GetMacroResultAsHtmlForEditor". In log I am getting below error message
> WARN umbraco.macro - [T99/D36] Error loading MacroEngine script
> (file: MvcRenderContourForm.cshtml, Type: ''. Exception:
> System.InvalidOperationException: The SessionStateTempDataProvider
> class requires session state to be enabled. at
> System.Web.Mvc.SessionStateTempDataProvider.SaveTempData(ControllerContext
> controllerContext, IDictionary`2 values) at
> System.Web.Mvc.TempDataDictionary.Save(ControllerContext
> controllerContext, ITempDataProvider tempDataProvider) at
> System.Web.Mvc.Controller.PossiblySaveTempData() at
> System.Web.Mvc.Controller.ExecuteCore() at
> System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
> at
> System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext
> requestContext) at
> Umbraco.Forms.Mvc.Bridge.Html.MvcBridgeExtensions.RenderMvcAction(HtmlHelper
> helper, String action, String controller, String formId, String
> antiForgeryToken, Object node, Object parameter) in
> f:\TeamCity\buildAgent\work\fd622d7f786e1305\Umbraco.Forms.Mvc\Bridge\Html\MvcBridgeExtensions.cs:line
> 84 at ASP._Page_macroScripts_MvcRenderContourForm_cshtml.Execute()
> in \wwwroot\macroScripts\MvcRenderContourForm.cshtml:line 9 at
> System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at
> System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1
> executors) at System.Web.WebPages.WebPage.ExecutePageHierarchy()
> at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext
> pageContext, TextWriter writer, WebPageRenderingBase startPage) at
> umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro,
> INode currentPage) at
> umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode
> currentPage) at umbraco.macro.loadMacroScript(MacroModel macro)
> at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
For now I disabled the render option in macro properties. Beside disabling the render option if anyone have the solution to fix this problem, could you please share with me?
Enabling "Render in rich text editor and the grid" option throws error in CMS RTE
Hi,
I have used contour in many sites for our clients. For first time I am seeing this problem with "Contour". By default contour macro comes with "Render in rich text editor and the grid" option enabled. I inserted the macro in RTE, after loading sometime it throws error. Error with status of "500" in "GetMacroResultAsHtmlForEditor". In log I am getting below error message
For now I disabled the render option in macro properties. Beside disabling the render option if anyone have the solution to fix this problem, could you please share with me?
Thanks
PTamang
is working on a reply...