Error Loading Razor Script (file: Cartendo- Search) Cannot perform runtime binding on a null reference at CallSite.Target(Closure , CallSite , Object ) at ASP._Page_macroScripts_Cartendo_Search_cshtml.Execute() in d:\aspnettemp\v4.0\root\a0abe490\63c3a58\App_Web_cartendo-search.cshtml.70df5e80.bezfsblk.0.cs:line 0 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)
0,003055
0,000369
macro
Error loading MacroEngine script (file: Cartendo-Search.cshtml, Type: '' Cannot perform runtime binding on a null reference at CallSite.Target(Closure , CallSite , Object ) at ASP._Page_macroScripts_Cartendo_Search_cshtml.Execute() in d:\aspnettemp\v4.0\root\a0abe490\63c3a58\App_Web_cartendo-search.cshtml.70df5e80.bezfsblk.0.cs:line 0 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)
Razor error after upgrade from 7.1.3 to 7.14
Existing razor files throws an error.
I am using WebForms.
Can anyone help?
at ASP._Page_macroScripts_Cartendo_Search_cshtml.Execute() in d:\aspnettemp\v4.0\root\a0abe490\63c3a58\App_Web_cartendo-search.cshtml.70df5e80.bezfsblk.0.cs:line 0
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)
Cannot perform runtime binding on a null reference
at CallSite.Target(Closure , CallSite , Object )
at ASP._Page_macroScripts_Cartendo_Search_cshtml.Execute() in d:\aspnettemp\v4.0\root\a0abe490\63c3a58\App_Web_cartendo-search.cshtml.70df5e80.bezfsblk.0.cs:line 0
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)
I had this once too. Clearing my Temporary ASP.NET files and rebuilding my application solved the problem form me.
Dave
is working on a reply...