The partial view 'Nested Content/ncHeroSlider' was not found or no view engine supports the searched locations.
Umbraco v 8.14
I got this error:
System.InvalidOperationException: The partial view 'Nested
Content/ncHeroSlider' was not found or no view engine supports the
searched locations. The following locations were searched:
~/Views/RenderMvc/Nested Content/ncHeroSlider.aspx
~/Views/RenderMvc/Nested Content/ncHeroSlider.ascx
~/Views/Shared/Nested Content/ncHeroSlider.aspx ~/Views/Shared/Nested
Content/ncHeroSlider.ascx ~/Views/RenderMvc/Nested
Content/ncHeroSlider.cshtml ~/Views/RenderMvc/Nested
Content/ncHeroSlider.vbhtml ~/Views/Shared/Nested
Content/ncHeroSlider.cshtml ~/Views/Shared/Nested
Content/ncHeroSlider.vbhtml ~/Views/Partials/Nested
Content/ncHeroSlider.cshtml ~/Views/MacroPartials/Nested
Content/ncHeroSlider.cshtml ~/Views/Nested Content/ncHeroSlider.cshtml
The space was the issue. I shoulda caught that. The space is fine, it was just in code, and the folder inadvertently was named NestedContent. I added a space to the actual folder name and it worked. Thx @MarcGoodson !
The partial view 'Nested Content/ncHeroSlider' was not found or no view engine supports the searched locations.
Umbraco v 8.14
I got this error:
But this file does exist:
Here's my page view code:
Here's my nested content view code:
I've used this setup before, so I'm not sure what I'm missing.
Hi bh
Have you tried it without the space in the folder name.
I tend to avoid spaces in the names of folders within a solution, I wondering if it's mucking this up too?
try renaming the folder as NestedContent and update your partials to use that , to see if it makes a difference...
... also noted your partial view renders a further partial view:
Nested Content/ncCopyBlock
is ncCopyBlock existing and in the folder locations... ?
but hunch is, it's the 'space'.
regards
marc
The space was the issue. I shoulda caught that. The space is fine, it was just in code, and the folder inadvertently was named NestedContent. I added a space to the actual folder name and it worked. Thx @MarcGoodson !
is working on a reply...