Skip to content
Block Exception:System.InvalidCastException: Unable to cast object of type 'Umbraco.Core.Dynamics.DynamicNull' to type 'Umbraco.Core.Models.IPublishedContent'. at CallSite.Target(Closure , CallSite , Object ) at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) at CallSite.Target(Closure , CallSite , Object ) at ASP._Page_Views_Partials_ServiceChildrenBlock_cshtml.Execute() in c:\Mentor\Applications\live.wwutilities.co.uk\views\Partials\ServiceChildrenBlock.cshtml:line 5 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) at WebBlocks.Views.RenderingEngines.PartialViewRenderingEngine.Render(HtmlHelper html)