I am using Sitecore 7. For the project I am using MVC functionality. First I will explain what I did. I
- Created a new MVC3 project with deployment to the file system (with reference to
Sitecore.Kernel.dlland Sitecore.Mvc.dll, Sitecore.Mvc.config); - A new layout was created in the MVC3 project with the name
Main.cshtml; - A new layout was created in Sitecore and set to the path:
/Views/Main.cshtml(when I click on the Grid constructor, the layout is displayed); - Configured layout The main Home element as a layout;
- The whole site is published;
- Clicking on the item-Home:
Presentation > Preview.
Problem: 404 error occurred, page not found. Does anyone know how I can solve the 404 problem?
Many thanks.
Jordy source
share