updagrade from 8.11 to 9: It works on my local machine; it throws an error on the server

Vote:
 

Hi,

I am working to bring our current site from cms 8.11 to 9.0. On my local machine the update went smoothly. Yet when I put it on the server, I get an error connected with IOC. I read somewhere that it had to do with updating StructureMap's nugets. So I did. I spent some time solving a number of issues that the update brought up, and I had it running again on my machine. I deploy. I am back to the initial error.  I don't know what else to do. Here is the error message from the server.

Any ideas?


Server Error in '/' Application.

Method not found: 'StructureMap.IContainer EPiServer.ServiceLocation.ServiceConfigurationContext.get_Container()'.
  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 Exception Details: System.MissingMethodException: Method not found: 'StructureMap.IContainer EPiServer.ServiceLocation.ServiceConfigurationContext.get_Container()'.

Source Error:



[No relevant source lines]
 

 Source File:  c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\f1caf4d3\73224aac\App_global.asax.0.cs    Line:  0

Stack Trace:



[MissingMethodException: Method not found: 'StructureMap.IContainer EPiServer.ServiceLocation.ServiceConfigurationContext.get_Container()'.]
   EPiServer.GoogleAnalytics.InitializationModule.ConfigureContainer(ServiceConfigurationContext context) +0
   EPiServer.Framework.Initialization.Internal.ModuleNode.Execute(Action a, String key) +64
   EPiServer.Framework.Initialization.InitializationEngine.ConfigureContainer(HostType hostType) +310
   EPiServer.Framework.Initialization.InitializationEngine.ExecuteTransition(Boolean continueTransitions) +136
   EPiServer.Framework.Initialization.InitializationModule.EngineExecute(HostType hostType, Action`1 engineAction) +356
   EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType) +173
   EPiServer.Global..ctor() +91
   ASP.global_asax..ctor() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\f1caf4d3\73224aac\App_global.asax.0.cs:0

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +195
   System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +256
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +119
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +1975
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +298
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +28
   System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +81
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +289
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +250

[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +619
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +99
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +739

 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34274  

#173088
Dec 13, 2016 21:00
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.