Could not render component of type: assortimentBlock
This likely happened because the partial view StudioB/blockgrid/assortimentBlock could not be found.
Error:
Object reference not set to an instance of an object.
at SitefinityWebApp.Mvc.Models.ProductViewModel.Prepare(Int32 productId, Boolean includeRelated) in D:\a\1\s\StudioB\Mvc\Models\ProductViewModel.cs:line 309
at AspNetCore.Views_Partials_StudioB_blockgrid_assortimentBlock.ExecuteAsync() in C:\home\site\wwwroot\Views\Partials\StudioB\blockgrid\assortimentBlock.cshtml:line 326
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 AspNetCore.Views_Partials_blockgrid_items.ExecuteAsync() in C:\home\site\wwwroot\Views\Partials\blockgrid\items.cshtml:line 30