I am attempting to deploy my ASP.NET MVC application to a new environment and I’m running into this error:
The view 'Login' or its master could not be found. The following locations were searched: ~/Views/Account/Login.aspx ~/Views/Account/Login.ascx ~/Views/Shared/Login.aspx ~/Views/Shared/Login.ascx
I have verified that ~/Views/Account/Login.aspx exists.
The server is Windows 2k3 running IIS 6. We are not using wildcard mapping, but rather file extensions. This very same version of the site runs fine in 2 other environments, both that have similar setup (2k3 and IIS 6).
Could this be a permissions issue or something?
I’m a fool. My master page wasn’t copied out to the new server. Once there, everything worked.