I'm using Sitecore 7. For a project I'm using the MVC functionality. I will first explain what I did. I
- Created a new MVC3 project with deploy to File System (with reference to
Sitecore.Kernel.dllandSitecore.Mvc.dll, Sitecore.Mvc.configadded); - Created a new layout in the MVC3 project, named
Main.cshtml; - Created a new layout in Sitecore and path configured:
/Views/Main.cshtml(when I click on the Grid designer the layout shows up); - Configured layout Main on the Home item as Layout;
- Published the whole site;
- Clicked on the Home-item:
Presentation > Preview.
The problem: an 404 error occured, the page cannot be found. Does anyone know how i could solve the 404 problem?
Thanks a lot.