i have been working on an asp.net mvc site for a week and out of the blue i cant run the site. suddenly i get this error:
The view 'Index' or its master could not be found. The following locations were searched
Description: 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 view 'Index' or its master could not be found. The following locations were searched:
~/Views/Home/Index.aspx
~/Views/Home/Index.ascx
~/Views/Shared/Index.aspx
~/Views/Shared/Index.ascx
has anyone seen this error before and have any questions?
EDIT: Just to be clear, this has been working fine for weeks and yes, there is a view in Home/Index.aspx
SOLVED: web.config had a typo.