Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lee 1130 posts 3088 karma points
    Dec 10, 2013 @ 10:10
    Lee
    0

    Can't install v6.0.0 into Umbraco v6.1.6

    Pretty much a blank install apart from DocType mixins. Downloaded latest uComponents from here, installed package and get the following error?

    An unhandled exception occurred
    System.TypeLoadException: Could not load type 'umbraco.editorControls.mediapicker.MediaPickerDataType' from assembly 'umbraco.editorControls, Version=1.0.4715.27667, Culture=neutral, PublicKeyToken=null'.
       at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
       at System.Reflection.RuntimeAssembly.GetExportedTypes()
       at Umbraco.Core.TypeFinder.GetTypesWithFormattedException(Assembly a)
       at Umbraco.Core.TypeFinder.GetClasses(Type assignTypeFrom, IEnumerable`1 assemblies, Boolean onlyConcreteClasses, Func`2 additionalFilter)
       at Umbraco.Core.TypeFinder.FindClassesOfType[T](IEnumerable`1 assemblies, Boolean onlyConcreteClasses)
       at Umbraco.Core.TypeFinder.FindClassesOfType[T](IEnumerable`1 assemblies)
       at Umbraco.Core.PluginManager.b__1c[T]()
       at Umbraco.Core.PluginManager.LoadViaScanningAndUpdateCacheFile[T](TypeList typeList, TypeResolutionKind resolutionKind, Func`1 finder)
       at Umbraco.Core.PluginManager.ResolveTypes[T](Func`1 finder, TypeResolutionKind resolutionType, Boolean cacheResult)
       at Umbraco.Core.PluginManager.ResolveTypes[T](Boolean cacheResult)
       at Umbraco.Core.CoreBootManager.InitializeApplicationEventsResolver()
       at Umbraco.Web.WebBootManager.InitializeApplicationEventsResolver()
       at Umbraco.Core.CoreBootManager.Initialize()
       at Umbraco.Web.WebBootManager.Initialize()
       at Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e)
       at Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e)
    
  • Ove Andersen 435 posts 1541 karma points c-trib
    Dec 10, 2013 @ 10:13
    Ove Andersen
    0

    Thats weird. Is that when you log into the backend?

  • Lee 1130 posts 3088 karma points
    Dec 10, 2013 @ 10:20
    Lee
    0

    That's straight after install. Click install package, does a postback and seems to be installing. Then I get that YSOD.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Dec 10, 2013 @ 11:32
    Lee Kelleher
    0

    I've just testing this now (on a fresh v6.1.6 install, no other packages) - I got a bit worried that I hadn't tested installing v6.0.0 from the package repo (inside the back-office). But it appears to all work fine.

    I noticed in your error message that it references umbraco.editorControls.mediapicker.MediaPickerDataType. I know this was a correction from an original a typo in the Umbraco core (it previously was umbraco.editorControls.mediapicker.MemberPickerDataType - yup a long time bug/typo!).

    I'm not 100% sure when the typo was corrected, but it makes me think that somehow an older version of umbraco.editorControls has been copied into your /bin folder? Is that remotely possible?

    Thanks, Lee.

  • Lee 1130 posts 3088 karma points
    Dec 10, 2013 @ 11:35
    Lee
    1

    I tweeted you bud. I retested for my santity. I think I had a rogue reference to an old version in a project that is referenced in the solution.

    I recopied all the original DLL's, did a clean, removed the references and it's worked! Sorry to have got you worried.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Dec 10, 2013 @ 11:36
    Lee Kelleher
    0

    No worries. Better to be safe than sorry! :-)

    Cheers, Lee.

Please Sign in or register to post replies

Write your reply to:

Draft