Categories
Home Based Business

MSP Training: Managing Successful Programmes [Video]

System.InvalidCastException: Unable to cast object of type ‘Umbraco.Cms.Web.Common.PublishedModels.V2BasicText’ to type ‘Umbraco.Cms.Web.Common.PublishedModels.V2BasicTextBlock’. at AspNetCore.Views_Partials_blocklist_components_v2BasicTextBlock.ExecuteAsync() in D:WebsitesLive10RebrandApplicationViewsPartialsblocklistcomponentsv2BasicTextBlock.cshtml:line 5 at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData) at Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperPartialExtensions.Partial(IHtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) at Umbraco.Extensions.CacheHelperExtensions.<>c__DisplayClass0_0.<CachedPartialView>b__0() at Umbraco.Extensions.AppCacheExtensions.<>c__DisplayClass0_0`1.<GetCacheItem>b__0() at Umbraco.Cms.Core.Cache.SafeLazy.<>c__DisplayClass1_0.<GetSafeLazy>b__0()— End of stack trace from previous location — at Umbraco.Cms.Core.Cache.ObjectCacheAppCache.Get(String key, Func`1 factory, Nullable`1 timeout, Boolean isSliding, String[] dependentFiles) at Umbraco.Cms.Core.Cache.DeepCloneAppCache.Get(String key, Func`1 factory, Nullable`1 timeout, Boolean isSliding, String[] dependentFiles) at Umbraco.Extensions.CacheHelperExtensions.CachedPartialView(AppCaches appCaches, IHostingEnvironment hostingEnvironment, IUmbracoContext umbracoContext, IHtmlHelper htmlHelper, String partialViewName, Object model, TimeSpan cacheTimeout, String cacheKey, ViewDataDictionary viewData) at Umbraco.Extensions.HtmlHelperRenderExtensions.CachedPartialAsync(IHtmlHelper htmlHelper, String partialViewName, Object model, TimeSpan cacheTimeout, Boolean cacheByPage, Boolean cacheByMember, ViewDataDictionary viewData, Func`3 contextualKeyBuilder) at AspNetCore.Views_Partials_blocklist_Components_reusableContentBlock.ExecuteAsync() in D:WebsitesLive10RebrandApplicationViewsPartialsblocklistComponentsreusableContentBlock.cshtml:line 199

Watch/Read More