U4-2709 - Error after upgrading from 6.1.3 to 6.1.4

Created by Corné Hogerheijde 23 Aug 2013, 12:38:13 Updated by Sebastiaan Janssen 30 Sep 2013, 12:54:42

After upgrading from 6.1.3 to 6.1.4 (using NuGet in VS2012) even before I get the upgrade screen I get the following error (YSOD):

Could not load type 'CookComputing.XmlRpc.XmlRpcService' from assembly 'CookComputing.XmlRpcV2, Version=3.0.0.0, Culture=neutral, PublicKeyToken=a7d6e17aa302004d'.

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.TypeLoadException: Could not load type 'CookComputing.XmlRpc.XmlRpcService' from assembly 'CookComputing.XmlRpcV2, Version=3.0.0.0, Culture=neutral, PublicKeyToken=a7d6e17aa302004d'.

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:

[TypeLoadException: Could not load type 'CookComputing.XmlRpc.XmlRpcService' from assembly 'CookComputing.XmlRpcV2, Version=3.0.0.0, Culture=neutral, PublicKeyToken=a7d6e17aa302004d'.] System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) +0 System.Reflection.RuntimeAssembly.GetExportedTypes() +49 Umbraco.Core.TypeFinder.GetTypesWithFormattedException(Assembly a) +128 Umbraco.Core.TypeFinder.GetClasses(Type assignTypeFrom, IEnumerable1 assemblies, Boolean onlyConcreteClasses, Func2 additionalFilter) +473 Umbraco.Core.PluginManager.LoadViaScanningAndUpdateCacheFile(TypeList typeList, TypeResolutionKind resolutionKind, Func1 finder) +53 Umbraco.Core.PluginManager.ResolveTypes(Func1 finder, TypeResolutionKind resolutionType, Boolean cacheResult) +1377 Umbraco.Core.CoreBootManager.InitializeApplicationEventsResolver() +77 Umbraco.Web.WebBootManager.InitializeApplicationEventsResolver() +9 Umbraco.Core.CoreBootManager.Initialize() +386 Umbraco.Web.WebBootManager.Initialize() +57 Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +122

[HttpException (0x80004005): Could not load type 'CookComputing.XmlRpc.XmlRpcService' from assembly 'CookComputing.XmlRpcV2, Version=3.0.0.0, Culture=neutral, PublicKeyToken=a7d6e17aa302004d'.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12864365 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475

[HttpException (0x80004005): Could not load type 'CookComputing.XmlRpc.XmlRpcService' from assembly 'CookComputing.XmlRpcV2, Version=3.0.0.0, Culture=neutral, PublicKeyToken=a7d6e17aa302004d'.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12881108 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12722297

Comments

Sebastiaan Janssen 23 Aug 2013, 17:43:09

Are you targeting xmlrpc v3.0.0? We ship with and require 2.5.0 and I don't think you can get a reference to 3.0.0 without manually updating it.


Sebastiaan Janssen 23 Aug 2013, 17:43:43

By the way:

I did: Install-Package UmbracoCms -Version 6.1.3 Update-Package UmbracoCms

And that all works fine.


Kenneth Solberg 17 Sep 2013, 08:19:23

Hi, I reproduced the error when doing Update-Package on clean 6.1.5. The UmbracoCms package should specify a version range for the CookComputing.XmlRpc.XmlRpcService dependency.

Steps to reproduce:

  1. New empty web app
  2. Install-Package UmbracoCms
  3. Run and set up site and db
  4. Stop site and run Update-Package from PM console
  5. Run

Read more about dependency versioning here: http://docs.nuget.org/docs/reference/versioning


Sebastiaan Janssen 30 Sep 2013, 12:54:42

Fixed in changeset abbf8aeb421230f8b28e1d74b1d06df90ae4fca9 Tightened up the version ranges of dependencies in the Core package.


Priority: Normal

Type: Exception

State: Fixed

Assignee:

Difficulty: Normal

Category: Installation

Backwards Compatible: True

Fix Submitted:

Affected versions: 6.1.4

Due in version: 6.1.6

Sprint:

Story Points:

Cycle: