+1-888-365-2779
Try Now
More in this section

Forums / Deployment / deployment problem - widget designers not showing

deployment problem - widget designers not showing

3 posts, 0 answered
  1. michael
    michael avatar
    17 posts
    Registered:
    15 Nov 2015
    22 Feb
    Link to this post
    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?
  2. michael
    michael avatar
    17 posts
    Registered:
    15 Nov 2015
    22 Feb
    Link to this post

    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?

  3. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    Registered:
    28 Sep 2016
    24 Feb
    Link to this post
    Hi Michael,

    Please refer to the below KB article for more details about this issue and how to resolve it:

    http://www.sitefinity.com/developer-network/knowledge-base/details/feather-cannot-find-view-when-controller-namespace-is-different-than-assemblyname.mvc.controller.controllername


    Regards,
    Sabrie Nedzhip
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
3 posts, 0 answered