November Happy Hour will be moved to Thursday December 5th.

Error upgrading to 7.5

Vote:
 

Hi 

I have upgraded a site to CMS 7.5, and I get the following error when trying to browse the site:

Server Error in '/' Application.

Unable to load one or more of the requested types. The following information may be a subset of the Type/LoaderException information present - inspect with debugger for complete view.
Check assemblies [EPiServer.Cms.Shell.UI, Version=2.1.90.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7] and/or types [EPiServer.Cms.Shell.Extensions.CultureInfoExtensions,
EPiServer.Cms.Shell.Extensions.ExceptionExtensions,
EPiServer.Cms.Shell.Extensions.ExtendedMetadataExtensions,
EPiServer.Cms.Shell.IContentExtensions,
EPiServer.Cms.Shell.IContentVersionRepositoryExtensions,
EPiServer.Cms.Shell.Extensions.SettingsExtensions,
EPiServer.Cms.Shell.Json.BlockDataConverter,
EPiServer.Cms.Shell.Json.ContentFragmentViewModel,
EPiServer.Cms.Shell.Json.ContentAreaConverter,
EPiServer.Cms.Shell.Json.ContentDataStoreModelConverter,
EPiServer.Cms.Shell.Json.ContentDataStoreModelConverter+PropertiesConverter,
EPiServer.Cms.Shell.Json.IContentConverter,
EPiServer.Cms.Shell.Json.UrlConverter,
EPiServer.Cms.Shell.MoveToPlatform.ContentTypeExtension,
EPiServer.Cms.Shell.MoveToPlatform.RoutingInitializationModule,
EPiServer.Cms.Shell.MoveToPlatform.IWorkflowTaskRepository,
EPiServer.Cms.Shell.MoveToPlatform.PersonalizedContentAreaExtensions,
EPiServer.Cms.Shell.MoveToPlatform.PersonalizationContentControlResolver,
EPiServer.Cms.Shell.MoveToPlatform.PersonalizationContentControlResolver+PersonalizedContentRenderer,
EPiServer.Cms.Shell.MoveToPlatform.TemporaryViewEngine]. Information from LoaderExceptions property [Method 'get_DefaultContext' in type 'EPiServer.Cms.Shell.UI.CompositeViews.HomeView' from assembly 'EPiServer.Cms.Shell.UI, Version=2.1.90.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' does not have an implementation.].

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.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. The following information may be a subset of the Type/LoaderException information present - inspect with debugger for complete view.
Check assemblies [EPiServer.Cms.Shell.UI, Version=2.1.90.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7] and/or types [EPiServer.Cms.Shell.Extensions.CultureInfoExtensions,
EPiServer.Cms.Shell.Extensions.ExceptionExtensions,
EPiServer.Cms.Shell.Extensions.ExtendedMetadataExtensions,
EPiServer.Cms.Shell.IContentExtensions,
EPiServer.Cms.Shell.IContentVersionRepositoryExtensions,
EPiServer.Cms.Shell.Extensions.SettingsExtensions,
EPiServer.Cms.Shell.Json.BlockDataConverter,
EPiServer.Cms.Shell.Json.ContentFragmentViewModel,
EPiServer.Cms.Shell.Json.ContentAreaConverter,
EPiServer.Cms.Shell.Json.ContentDataStoreModelConverter,
EPiServer.Cms.Shell.Json.ContentDataStoreModelConverter+PropertiesConverter,
EPiServer.Cms.Shell.Json.IContentConverter,
EPiServer.Cms.Shell.Json.UrlConverter,
EPiServer.Cms.Shell.MoveToPlatform.ContentTypeExtension,
EPiServer.Cms.Shell.MoveToPlatform.RoutingInitializationModule,
EPiServer.Cms.Shell.MoveToPlatform.IWorkflowTaskRepository,
EPiServer.Cms.Shell.MoveToPlatform.PersonalizedContentAreaExtensions,
EPiServer.Cms.Shell.MoveToPlatform.PersonalizationContentControlResolver,
EPiServer.Cms.Shell.MoveToPlatform.PersonalizationContentControlResolver+PersonalizedContentRenderer,
EPiServer.Cms.Shell.MoveToPlatform.TemporaryViewEngine]. Information from LoaderExceptions property [Method 'get_DefaultContext' in type 'EPiServer.Cms.Shell.UI.CompositeViews.HomeView' from assembly 'EPiServer.Cms.Shell.UI, Version=2.1.90.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' does not have an implementation.].

Source Error:

[No relevant source lines]


Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\874b9fd2\d2093bbf\App_global.asax.0.cs    Line: 0

Stack Trace:

[ReflectionTypeLoadException: Unable to load one or more of the requested types. The following information may be a subset of the Type/LoaderException information present - inspect with debugger for complete view.
 Check assemblies [EPiServer.Cms.Shell.UI, Version=2.1.90.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7] and/or types [EPiServer.Cms.Shell.Extensions.CultureInfoExtensions,
 EPiServer.Cms.Shell.Extensions.ExceptionExtensions,
 EPiServer.Cms.Shell.Extensions.ExtendedMetadataExtensions,
 EPiServer.Cms.Shell.IContentExtensions,
 EPiServer.Cms.Shell.IContentVersionRepositoryExtensions,
 EPiServer.Cms.Shell.Extensions.SettingsExtensions,
 EPiServer.Cms.Shell.Json.BlockDataConverter,
 EPiServer.Cms.Shell.Json.ContentFragmentViewModel,
 EPiServer.Cms.Shell.Json.ContentAreaConverter,
 EPiServer.Cms.Shell.Json.ContentDataStoreModelConverter,
 EPiServer.Cms.Shell.Json.ContentDataStoreModelConverter+PropertiesConverter,
 EPiServer.Cms.Shell.Json.IContentConverter,
 EPiServer.Cms.Shell.Json.UrlConverter,
 EPiServer.Cms.Shell.MoveToPlatform.ContentTypeExtension,
 EPiServer.Cms.Shell.MoveToPlatform.RoutingInitializationModule,
 EPiServer.Cms.Shell.MoveToPlatform.IWorkflowTaskRepository,
 EPiServer.Cms.Shell.MoveToPlatform.PersonalizedContentAreaExtensions,
 EPiServer.Cms.Shell.MoveToPlatform.PersonalizationContentControlResolver,
 EPiServer.Cms.Shell.MoveToPlatform.PersonalizationContentControlResolver+PersonalizedContentRenderer,
 EPiServer.Cms.Shell.MoveToPlatform.TemporaryViewEngine]. Information from LoaderExceptions property [Method 'get_DefaultContext' in type 'EPiServer.Cms.Shell.UI.CompositeViews.HomeView' from assembly 'EPiServer.Cms.Shell.UI, Version=2.1.90.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' does not have an implementation.].]
   EPiServer.Framework.Initialization.InitializationModule.Initialize(HostType hostType) +826
   EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType) +103
   EPiServer.Global..ctor() +108
   NorgesBank.Web.Global..ctor() +43
   ASP.global_asax..ctor() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\874b9fd2\d2093bbf\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) +138
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +105
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +1481
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +191
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +27
   System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +82
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +300
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +343

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

I have read this blogpost, but can't find any new answers there: http://world.episerver.com/Forum/Developer-forum/-EPiServer-75-CMS/Thread-Container/2014/1/Error-upgrading-to-75/

Any help would be appreciated
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1055.0

#162094
Oct 10, 2016 20:51
Vote:
 

The solution was that I needet to delete all files in the modulesbin-cataloug before running "Upgrade/disable Add-ons after Product upgrade" in Deployment center. I could then run "Upgrade/disable etc" without errors, and the error above disappeared. 

#162222
Oct 12, 2016 20:27
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.