- System.InvalidOperationException: Error while rendering view: '/Views/ATPWorldTour/layouts/MainLayout.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').
- ---> System.InvalidOperationException: The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary requires a model item of type 'ATP.Model.IATPRenderingModel`2[Fortis.Model.IItemWrapper,Fortis.Model.IItemWrapper]'.
- at System.Web.Mvc.ViewDataDictionary`1.SetModel(Object value)
- at System.Web.Mvc.ViewDataDictionary..ctor(ViewDataDictionary dictionary)
- at System.Web.Mvc.WebViewPage`1.SetViewData(ViewDataDictionary viewData)
- at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
- at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
- at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)
- --- End of inner exception stack trace ---
- at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)
- at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)
- at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)
- at ATP.Ignite.Errors.Pipelines.ExecuteRenderer.Process(RenderRenderingArgs args)