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

Forums / Project Feather / Cannot find the designer partial for my designer

Cannot find the designer partial for my designer

5 posts, 0 answered
  1. Chris
    Chris avatar
    4 posts
    Registered:
    02 Jan 2015
    17 Mar 2015
    Link to this post

    Please help, my view .cshtml file is here:

    ~/Mvc/Views/ProductIntro/DesignerView.Product.cshtml

    My understanding from here:https://github.com/Sitefinity/feather/wiki/VirtualFile-structure-explainedis that feather translates the front /Frontend-Assembly/ so it should be finding it! 

    Here's my error:

    The partial view 'DesignerView.Product' was not found or no view engine supports the searched locations. The following locations were searched:
    ~/Views/Designer/DesignerView.Product.aspx
    ~/Views/Designer/DesignerView.Product.ascx
    ~/Views/Shared/DesignerView.Product.aspx
    ~/Views/Shared/DesignerView.Product.ascx
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/ProductIntro/DesignerView.Product.aspx
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/ProductIntro/DesignerView.Product.ascx
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/Shared/DesignerView.Product.aspx
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/Shared/DesignerView.Product.ascx
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Designer/DesignerView.Product.aspx
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Designer/DesignerView.Product.ascx
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Shared/DesignerView.Product.aspx
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Shared/DesignerView.Product.ascx
    ~/Views/Designer/DesignerView.Product.cshtml
    ~/Views/Designer/DesignerView.Product.vbhtml
    ~/Views/Shared/DesignerView.Product.cshtml
    ~/Views/Shared/DesignerView.Product.vbhtml
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/ProductIntro/DesignerView.Product.cshtml
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/ProductIntro/DesignerView.Product.vbhtml
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/Shared/DesignerView.Product.cshtml
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/Shared/DesignerView.Product.vbhtml
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Designer/DesignerView.Product.cshtml
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Designer/DesignerView.Product.vbhtml
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Shared/DesignerView.Product.cshtml
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Shared/DesignerView.Product.vbhtmlDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.InvalidOperationException: The partial view 'DesignerView.Product' was not found or no view engine supports the searched locations. The following locations were searched:
    ~/Views/Designer/DesignerView.Product.aspx
    ~/Views/Designer/DesignerView.Product.ascx
    ~/Views/Shared/DesignerView.Product.aspx
    ~/Views/Shared/DesignerView.Product.ascx
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/ProductIntro/DesignerView.Product.aspx
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/ProductIntro/DesignerView.Product.ascx
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/Shared/DesignerView.Product.aspx
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/Shared/DesignerView.Product.ascx
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Designer/DesignerView.Product.aspx
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Designer/DesignerView.Product.ascx
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Shared/DesignerView.Product.aspx
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Shared/DesignerView.Product.ascx
    ~/Views/Designer/DesignerView.Product.cshtml
    ~/Views/Designer/DesignerView.Product.vbhtml
    ~/Views/Shared/DesignerView.Product.cshtml
    ~/Views/Shared/DesignerView.Product.vbhtml
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/ProductIntro/DesignerView.Product.cshtml
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/ProductIntro/DesignerView.Product.vbhtml
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/Shared/DesignerView.Product.cshtml
    ~/Frontend-Assembly/SitefinityWebApp/Mvc/Views/Shared/DesignerView.Product.vbhtml
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Designer/DesignerView.Product.cshtml
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Designer/DesignerView.Product.vbhtml
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Shared/DesignerView.Product.cshtml
    ~/Frontend-Assembly/Telerik.Sitefinity.Frontend/Mvc/Views/Shared/DesignerView.Product.vbhtml

     

     

  2. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    Registered:
    09 Dec 2016
    20 Mar 2015
    Link to this post
    Hi Chris,

    Can you please check and ensure that you have ControllerContainer attribute in AssemblyInfo.cs file. If no, please update the AssemblyInfo.cs file of the SitefinityWebApp by adding the following snippet (if it is missing):

    using Telerik.Sitefinity.Frontend.Mvc.Infrastructure.Controllers.Attributes;
    [assembly: ControllerContainer]
    This should fix the issue. You may also take a look at the following article under the Creating a List Widget section where this has been pointed out as well. 

    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. Stephen2
    Stephen2 avatar
    94 posts
    Registered:
    05 Feb 2012
    12 Feb in reply to Sabrie Nedzhip
    Link to this post

    hahaha gets me every time...

    Can this attribute please be added to SitefinityWebApp assemblyinfo by default in a new project?

     

    Thanks

  4. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    Registered:
    09 Dec 2016
    12 Feb
    Link to this post
    Hi Stephen,

    We have logged a feature request for this on the following and hopefully we will add this in our future releases:

    http://feedback.telerik.com/Project/153/Feedback/Details/156396-feather-apply-the-controllercontainer-attribute-automatically-when-installing-fe

    You can subscribe to receive notifications for the feature request including new comments, votes, status changes by clicking on the "Follow this item" link. If you would like to unsubscribe, you can unfollow the item by removing "Following this item”. You can also vote to increase the popularity of the feature request.

    There is also a KB article which is related to issues finding the MVC views. here is a link to 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
     
  5. Stephen2
    Stephen2 avatar
    94 posts
    Registered:
    05 Feb 2012
    13 Feb in reply to Sabrie Nedzhip
    Link to this post
    Thanks Sabrie, I popped a vote on :)
5 posts, 0 answered