deployment problem - widget designers not showing
I've deployed a Sitefinity site onto a test environment with some new MVC widgets. For some reason the designers of the widgets aren't showing - Sitefinity is just showing "ControlCacheLevel" etc.
When I point my localhost to the same database everything works fine so I'm pretty sure it's not data related. The view and script files are all in the MVC folder. Does anyone have any ideas on what could be causing this?
Further info - I looked into Event Viewer and can see the following unhandled exception happens:
(also, i do have using
Telerik.Sitefinity.Frontend.Mvc.Infrastructure.Controllers.Attributes;
and [assembly: ControllerContainer] in AssemblyInfo.cs)
Exception information:
Exception type: InvalidOperationException
Exception message: The partial view 'DesignerView.Default' was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/Designer/DesignerView.Default.aspx
~/Views/Designer/DesignerView.Default.ascx
~/Views/Shared/DesignerView.Default.aspx
~/Views/Shared/DesignerView.Default.ascx
~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/ArticleGroup/DesignerView.Default.aspx
~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/ArticleGroup/DesignerView.Default.ascx
~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/Shared/DesignerView.Default.aspx
~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/Shared/DesignerView.Default.ascx
~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Designer/DesignerView.Default.aspx
~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Designer/DesignerView.Default.ascx
~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Shared/DesignerView.Default.aspx
~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Shared/DesignerView.Default.ascx
~/Views/Designer/DesignerView.Default.cshtml
~/Views/Designer/DesignerView.Default.vbhtml
~/Views/Shared/DesignerView.Default.cshtml
~/Views/Shared/DesignerView.Default.vbhtml
~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/ArticleGroup/DesignerView.Default.cshtml
~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/ArticleGroup/DesignerView.Default.vbhtml
~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/Shared/DesignerView.Default.cshtml
~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/Shared/DesignerView.Default.vbhtml
~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Designer/DesignerView.Default.cshtml
~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Designer/DesignerView.Default.vbhtml
~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Shared/DesignerView.Default.cshtml
~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Shared/DesignerView.Default.vbhtml
... this one should have been found ...
~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/ArticleGroup/DesignerView.Default.cshtml
... however there is no /Frontend-Assembly/SitefinityWebApp/ directory - should sitefinity still find the file even though the Mvc folder is in the root of the site?
Hi Michael,
Please refer to the below KB article for more details about this issue and how to resolve it:
www.sitefinity.com/.../feather-cannot-find-view-when-controller-namespace-is-different-than-assemblyname.mvc.controller.controllername
Regards,
Sabrie Nedzhip
Telerik