Cannot find the designer partial for my designer

Posted by Community Admin on 05-Aug-2018 16:53

Cannot find the designer partial for my designer

All Replies

Posted by Community Admin on 17-Mar-2015 00:00

Please help, my view .cshtml file is here:

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

My understanding from here:github.com/.../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

 

 

Posted by Community Admin on 20-Mar-2015 00:00

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
 

Posted by Community Admin on 12-Feb-2016 00:00

hahaha gets me every time...

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

 

Thanks

Posted by Community Admin on 12-Feb-2016 00:00

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
 

Posted by Community Admin on 13-Feb-2016 00:00

Thanks Sabrie, I popped a vote on :)

This thread is closed