I have an MVC website that works fine, but locally, but when I deploy it on my Azure Website, I get this error for every webpage except the Home Index page.
The view 'Index' or its master was not found or no view engine supports the searched locations. The following locations were searched: ~/Views/Sales/Index.aspx ~/Views/Sales/Index.ascx ~/Views/Shared/Index.aspx ~/Views/Shared/Index.ascx ~/Views/Sales/Index.cshtml ~/Views/Sales/Index.vbhtml ~/Views/Shared/Index.cshtml ~/Views/Shared/Index.vbhtml
I can provide additional information if necessary, but I could not find anyone with the same problem in all reports about this problem. Most people legally have a problem with a file in the wrong place. But my structure of controllers and views is beautiful, they work locally. He just does not find the "View" when it is deployed to my Azure Website.
source share