Copied to clipboard

Flag this post as spam?

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


  • Pratik Ramani 9 posts 99 karma points
    May 10, 2023 @ 13:29
    Pratik Ramani
    0

    Could not load all types from \"uDateFoldersy, Version=2.0.0.0

    We are upgrading Umbraco from 7 to 8 and we are facing error below.

    "Umbraco.Core.Exceptions.BootFailedException: Boot failed. ---> System.Reflection.ReflectionTypeLoadException: Could not load all types from \"uDateFoldersy, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null\" due to LoaderExceptions, skipping:\r\n. System.TypeLoadException on Umbraco.Core.ApplicationEventHandler: Could not load type 'Umbraco.Core.ApplicationEventHandler' from assembly 'Umbraco.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null'.\r\n\r\n at Umbraco.Core.Composing.TypeFinder.GetTypesWithFormattedException(Assembly a) in D:\a\1\s\src\Umbraco.Core\Composing\TypeFinder.cs:line 572\r\n at Umbraco.Core.Composing.TypeFinder.GetClassesWithBaseType(Type baseType, IEnumerable1 assemblies, Boolean onlyConcreteClasses, Func2 additionalFilter) in D:\a\1\s\src\Umbraco.Core\Composing\TypeFinder.cs:line 504\r\n at Umbraco.Core.Composing.TypeLoader.<>c_DisplayClass5001.<GetTypes>b__1() in D:\\a\\1\\s\\src\\Umbraco.Core\\Composing\\TypeLoader.cs:line 542\r\n at Umbraco.Core.Composing.TypeLoader.GetTypesInternalLocked(Type baseType, Type attributeType, Func1 finder, String action, Boolean cache) in D:\a\1\s\src\Umbraco.Core\Composing\TypeLoader.cs:line 752\r\n at Umbraco.Core.Composing.TypeLoader.GetTypesInternal(Type baseType, Type attributeType, Func1 finder, String action, Boolean cache) in D:\\a\\1\\s\\src\\Umbraco.Core\\Composing\\TypeLoader.cs:line 656\r\n at Umbraco.Core.Composing.TypeLoader.GetTypes[T](Boolean cache, IEnumerable1 specificAssemblies) in D:\a\1\s\src\Umbraco.Core\Composing\TypeLoader.cs:line 540\r\n at Umbraco.Core.Runtime.CoreRuntime.ResolveComposerTypes(TypeLoader typeLoader) in D:\a\1\s\src\Umbraco.Core\Runtime\CoreRuntime.cs:line 275\r\n at Umbraco.Core.Runtime.CoreRuntime.Boot(IRegister register, DisposableTimer timer) in D:\a\1\s\src\Umbraco.Core\Runtime\CoreRuntime.cs:line 149\r\n --- End of inner exception stack trace ---", "FailMessage": "Boot failed.", "Duration": 4413, "TimingId": "b068d96", "SourceContext": "Umbraco.Core.Runtime.CoreRuntime", "ProcessId": 11480, "ProcessName": "iisexpress", "ThreadId": 1,

  • Marc Goodson 2149 posts 14355 karma points MVP 9x c-trib
    May 10, 2023 @ 19:19
    Marc Goodson
    102

    Hi Pratik

    There isn't a version of the plugin uDateFoldersy that is compatible with Version 8 of Umbraco.

    https://our.umbraco.com/packages/backoffice-extensions/udatefoldersy/

    There is a great article about how to migrate from V7 to V8:

    https://www.proworks.com/blog/archive/how-to-upgrade-umbraco-version-7-to-version-8/

    Essentially you create a new project for your V8 site, and point it at a copy of your V7 database, that triggers the migration, then you have to start finding compatible packages!

    Then reimplement all the views and code logic for the update syntax.

    There is this other package called 'Infocaster.Umbraco.DateFolders' that seems to do a similar thing to udatefoldersy - I haven't used it, but you can check it out here:

    https://our.umbraco.com/packages/developer-tools/datefolders/

    there appears to be a V8 version!

    regards

    Marc

  • Pratik Ramani 9 posts 99 karma points
    May 11, 2023 @ 12:37
    Pratik Ramani
    0

    Thanks Marc

    We could fix it now, still we face below error :

    System.TypeLoadException: Could not load type 'Umbraco.Core.PropertyEditors.PropertyValueTypeAttribute' from assembly 'Umbraco.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null'

    Any solution ?

  • Marc Goodson 2149 posts 14355 karma points MVP 9x c-trib
    May 12, 2023 @ 07:42
    Marc Goodson
    0

    Hi Pratik

    did you create a brand new project to install Umbraco V8 in or try to run Nuget and upgrade your existing V7 solution?

    That error usually indicates there is an old dll in the bin folder, which can happen if you try to upgrade your V7 project with Nuget, instead of creating a fresh project?

    regards

    Marc

  • Pratik Ramani 9 posts 99 karma points
    May 12, 2023 @ 09:13
    Pratik Ramani
    0

    Yes Mark,

    We created new project to install Umbraco 8.

    Actually, We have a property editor assembly in umbraco 8, but there is no PropertyValueTypeAttribute class in this assembly.

Please Sign in or register to post replies

Write your reply to:

Draft