I get a yellow-screen-of-death after clicking the Forms
application icon from the launchpad:
The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary requires a model item of type 'Sitecore.Speak.Components.Models.Structures.Substructures.GlobalHeaders.GlobalHeaderRenderingModel'.
I found this other question that appears similar. A comment there suggests that this error could be caused by missing a step from the upgrade procedure. We did recently run through an upgrade to 9.0.1 from 8.1.0.
Any ideas where I might start looking to figure out this issue?
I am also a little confused as to where the file in question is. The path that the error message displays (/sitecore/shell/client/Business Component Library/version 2/Layouts/Renderings/Structures/Substructures/GlobalHeader.cshtml
) for the Razor view does not even exist in my filesystem. I double-checked this against the provided Sitecore 9.0.1 files from the upgrade documentation, and sure enough, the file doesn't exist there either. There does not seem to be a Structures
folder in the /sitecore/shell/client/Business Component Library/version 2/Layouts/Renderings
directory.
/sitecore/client/Business Component Library/version 2/Layouts/Renderings/Structures/Substructures/GlobalHeader
in the core database? The model should matchSitecore.Speak.Components.Models.Structures.Substructures.GlobalHeaders.GlobalHeaderRenderingModel,Sitecore.Speak.Components
– Gatogordo Aug 6 at 18:36The model item passed in...
, but this seems to have solved this particular error. Thank you! If you create an answer, I'll be happy to mark it! – BU0 Aug 6 at 18:46