I am attempting an update from Sitecore 8.1 Initial to 8.2 Update 3 and after running the update package and showing normal warnings on the update, I am getting the below error.
I have already updated my version of GlassMapper so I am running version v4.3.4.197 Not quite sure what is going on. I am using 4.6.2 .Net Framework also.
Using dotPeek I see that GlassMapper 4.3.4.197 does not have IsExperienceEditor which is the only choice in Sitecore 8.2 Update 3.
Server Error in '/' Application.
Method not found: 'Boolean PageMode.get_IsPageEditor()'.
Description: An unhandled exception occurred.
Exception Details: System.MissingMethodException: Method not found: 'Boolean PageMode.get_IsPageEditor()'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[MissingMethodException: Method not found: 'Boolean PageMode.get_IsPageEditor()'.]
Glass.Mapper.Sc.Utilities.get_IsPageEditor() in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\Utilities.cs:54 Glass.Mapper.Sc.SitecoreService.Initiate(IDependencyResolver resolver) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\SitecoreService.cs:111 Glass.Mapper.Sc.IoC.SitecoreContextFactory.GetSitecoreContext(Context context) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\IoC\SitecoreContextFactory.cs:63 Glass.Mapper.Sc.Pipelines.Response.GetModelFromView.Process(GetModelArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc.Mvc\Pipelines\Response\GetModelFromView.cs:91 (Object , Object[] ) +74
Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484
Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22
Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +196
Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args, Func2 resultGetter) +161
2 resultGetter) +57
Sitecore.Mvc.Presentation.Rendering.GetModel() +281
Sitecore.Mvc.Presentation.Rendering.get_Model() +30
Sitecore.Mvc.Extensions.ObjectExtensions.ValueOrDefault(T source, Func
Sitecore.Mvc.Presentation.ViewRenderer.get_Model() +150
Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +255[InvalidOperationException: Error while rendering view: '/Views/MainLayout.cshtml'. ]
Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +826 Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +148
Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +75 (Object , Object[] ) +74
Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484
Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22
Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +196
Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer) +302
System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +375 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +90
1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833
1 filters, ActionResult actionResult) +81
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList
System.Web.Mvc.Async.<>c__DisplayClass21.b__1e(IAsyncResult asyncResult) +37Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1637.0