System.InvalidOperationException: 'The view 'VendorLanding' was not found. The following locations were searched: /Themes/DefaultClean/Views/VendorLanding/VendorLanding.cshtml /Themes/DefaultClean/Views/Shared/VendorLanding.cshtml /Views/VendorLanding/VendorLanding.cshtml

Monday, November 25, 2024 5:46:49 PM
  • Posted: Saturday, November 23, 2019 6:17 AM
  • 2
Hi,

I have added a new controller, model & a view with the name -'VendorLanding' and added a Route entry under  RouteProvider. after the calling the resource from home page. getting below error.

System.InvalidOperationException: 'The view 'VendorLanding' was not found. The following locations were searched:
/Themes/DefaultClean/Views/VendorLanding/VendorLanding.cshtml
/Themes/DefaultClean/Views/Shared/VendorLanding.cshtml
/Views/VendorLanding/VendorLanding.cshtml

Please suggest.



0
  • Posted: Saturday, November 23, 2019 6:27 AM
  • 2
do we need refer the new view in any location like -
/Themes/DefaultClean/Views/VendorLanding/VendorLanding.cshtml
/Themes/DefaultClean/Views/Shared/VendorLanding.cshtml
/Views/VendorLanding/VendorLanding.cshtml


to fix the issue. please help for the steps to add new controller, view and model and nay inclusion, I am unable to find the docs for this.
0
  • Posted: Wednesday, December 11, 2019 4:15 PM
  • 41
you can add new plugin and create any need for do it red document
http://docs.grandnode.com/how-to-create-your-own-routing
http://docs.grandnode.com/basics-of-creating-plugins
0
back to top
Filters