Copied to clipboard

Flag this post as spam?

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


  • Alexey Badyl 33 posts 205 karma points
    Nov 09, 2015 @ 10:40
    Alexey Badyl
    0

    Issues with running UIOMatic on Umbraco 7.2.5

    Hello,

    We are trying to run UIOMatic on Umbraco 7.2.5

    First issue I experienced is installing Nuget package:

    Install-Package Nibble.Umbraco.UIOMatic failed with error

    Install failed. Rolling back...
    Install-Package : Already referencing a newer version of 'UmbracoCms.Core'.
    At line:1 char:1
    + Install-Package Nibble.Umbraco.UIOMatic
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
        + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
    

    This issue I solved by installing package without dependencies.

    Second issue that UIOMatic refer to System.Net.Http.Formatting v5.2.3.0 but Umbraco use System.Net.Http.Formatting v4.0.0.0

    This issue was solved by adding assemblyBinding to

    <dependentAssembly>
            <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />        
            <codeBase version="5.2.3.0"
                        href="modulesbin/System.Net.Http.Formatting.dll"/>
     </dependentAssembly>
    

    And finally I end up with error which I can't solve (even after registering required controllers in Autofac):

    [ReflectionTypeLoadException: Could not load types from assembly UIOMatic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null, errors:
    Exception: System.TypeLoadException: Method 'GetTreeNodes' in type 'UIOMatic.Trees.UIOMaticTreeController' from assembly 'UIOMatic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
    ]
       Umbraco.Core.TypeFinder.GetTypesWithFormattedException(Assembly a) +710
       Umbraco.Core.TypeFinder.GetClasses(Type assignTypeFrom, IEnumerable`1 assemblies, Boolean onlyConcreteClasses, Func`2 additionalFilter) +558
       Umbraco.Core.PluginManager.LoadViaScanningAndUpdateCacheFile(TypeList typeList, TypeResolutionKind resolutionKind, Func`1 finder) +53
       Umbraco.Core.PluginManager.ResolveTypes(Func`1 finder, TypeResolutionKind resolutionType, Boolean cacheResult) +1942
       Umbraco.Core.PluginManager.ResolveTypes(Boolean cacheResult, IEnumerable`1 specificAssemblies) +183
       Umbraco.Core.CoreBootManager.InitializeApplicationEventsResolver() +36
       Umbraco.Core.CoreBootManager.Initialize() +388
       Umbraco.Web.WebBootManager.Initialize() +133
       Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +127
    
    [HttpException (0x80004005): Could not load types from assembly UIOMatic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null, errors:
    Exception: System.TypeLoadException: Method 'GetTreeNodes' in type 'UIOMatic.Trees.UIOMaticTreeController' from assembly 'UIOMatic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
    ]
       System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12601645
       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 types from assembly UIOMatic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null, errors:
    Exception: System.TypeLoadException: Method 'GetTreeNodes' in type 'UIOMatic.Trees.UIOMaticTreeController' from assembly 'UIOMatic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
    ]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12618692
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12458309
    

    Can anybody help to understand if this package will work with Umbraco 7.2.5, and if yes - how to solve last issue I have.

    /Alexey

  • Comment author was deleted

    Nov 09, 2015 @ 10:44

    Hey Alexey,

    The package was developed agains Umbraco 7.3 so not sure it will work on 7.2.5, will give it a go this evening.

  • Comment author was deleted

    Nov 09, 2015 @ 10:47

    Any chance you can give it a go on 7.3 to see if you run into the same issues

  • Ramya Devendiran 27 posts 148 karma points
    Dec 09, 2020 @ 13:23
    Ramya Devendiran
    0

    Hi Tim,

    Does this ADDONS export package work in Umbraco 8.9.1. I am getting a boot failed error Could not load type 'Umbraco.Core.ApplicationEventHandler' from assembly 'Umbraco.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null'. . System.IO.FileNotFoundException: Could not load file or assembly 'umbraco, Version=1.0.6136.27248, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

    /Ramya.

  • Comment author was deleted

    Dec 09, 2020 @ 13:26

    nope, the export addons is build agains v2 so v7 of Umbraco, should be easy to upgrade if you want to give it a shot

  • Ramya Devendiran 27 posts 148 karma points
    Dec 09, 2020 @ 13:31
    Ramya Devendiran
    0

    I am working on my first project in Umbraco and using UIOMATIC to show the custom table data in the backoffice. And found, your addon package provides a EXPORT action. I am not sure whether we would be needing this addon.

    You can upgrade and I may use it.

  • Comment author was deleted

    Dec 09, 2020 @ 13:32

    sure it is open source so you can do the upgrade if you wish... currently isn't on my planning

Please Sign in or register to post replies

Write your reply to:

Draft