Copied to clipboard

Flag this post as spam?

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


  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Aug 18, 2010 @ 09:42
    Lee Kelleher
    0

    Event Viewer: ReflectionTypeLoadException

    Hi Darren, just installed Event Viewer on a client's Umbraco install and got the following exception:

    Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

    [ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
       System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) +0
       System.Reflection.Assembly.GetTypes() +105
       FM.EventDiscovery.Events.<TypesImplementingInterface>b__4(Assembly assembly) +7
       System.Linq.<SelectManyIterator>d__14`2.MoveNext() +205
       System.Linq.WhereEnumerableIterator`1.MoveNext() +191
       FM.EventDiscovery.Events.Page_Load(Object sender, EventArgs e) +346
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

    Install details:

    • Umbraco v4.5.1 - upgraded from v4.0.4.2 (if that matters?)
    • ASP.NET 3.5
    • Windows Server 2003 - IIS 6

    Need any other details?

    Cheers, Lee.

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Aug 18, 2010 @ 09:49
    Darren Ferguson
    0

    Hi Lee,

    I've not tested this with 4.5.1 I'm afraid.

    I'm also afraid to say it isn't going to get looked at quickly.... Unless you want to get stuck into the source?

     

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Aug 18, 2010 @ 09:53
    Lee Kelleher
    0

    Doh, no worries!

    Sure I can take a look at the source. :-)   (Email me the SVN details.)

    It probably just needs to be recompiled against the v4.5 assemblies.

    Cheers, Lee.

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Aug 20, 2010 @ 19:21
    Lee Kelleher
    0

    Quick follow up on this.  The problem isn't with the package/dashboard-control specifically, but with one of the Types in the assembly.

    From debugging the source, I found that it was trying to load "umbraco.interfaces.IFormHandler" ... which is really really weird, since that doesn't exist in the "interfaces.dll".

    The Umbraco instance is actually an upgrade to v4.5.1 - from v4.0.4.2 (which in turn had gone through an upgrade path from v3.0.3) - not sure if there is something lingering around elsewhere, but its very strange!

    Aside from that the Event Viewer works fine on my other Umbraco set-ups.

    Cheers, Lee.

Please Sign in or register to post replies

Write your reply to:

Draft