How to solve 404 page using Sitecore MVC?

Viewed 837

I'm using Sitecore 7. For a project I'm using the MVC functionality. I will first explain what I did. I

  1. Created a new MVC3 project with deploy to File System (with reference to Sitecore.Kernel.dll and Sitecore.Mvc.dll, Sitecore.Mvc.config added);
  2. Created a new layout in the MVC3 project, named Main.cshtml;
  3. Created a new layout in Sitecore and path configured: /Views/Main.cshtml (when I click on the Grid designer the layout shows up);
  4. Configured layout Main on the Home item as Layout;
  5. Published the whole site;
  6. 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.

1 Answers
Related