I have been getting this error:
The view 'Index' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/Home/Index.aspx
~/Views/Home/Index.ascx
~/Views/Shared/Index.aspx
~/Views/Shared/Index.ascx
~/Views/Home/Index.cshtml
~/Views/Home/Index.vbhtml
~/Views/Shared/Index.cshtml
~/Views/Shared/Index.vbhtml
I have verified that the view is in fact in the correct locations. The only difference between my MVC 5 app and a default (out of the box ones) is that I'm using Areas.
But it can't even find the canned/OOB default view for the Home Controller (which would be found in Views/Home/Index.cshtml).
None of the default views or controllers have been changed. Any ideas on what could be causing this? Is there a setting in IIS that I need to tell it use Routing?
I'm using Server 2012 R2 Standard which I think has IIS 8.0 installed.