Copied to clipboard

Flag this post as spam?

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


  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Jul 15, 2009 @ 11:09
    Darren Ferguson
    0

    Can anyone help me figure out what these meaningless error logs are.

    Hello,

    My Umbraco log table is filled with messages like:

    396746    0    -1    2009-07-15 08:05:56.717    Error    At /2009/5/13/a-view-on-the-autonomyinterwoven-cms-vendor-meme-response.aspx (Referred by: http://www.darren-ferguson.com/2009/5/13/a-view-on-the-autonomyinterwoven-cms-vendor-meme-response.aspx):

    I hit the URLs in question and don't get any errors!

    I'm suspecting that it may be some old package that I installed? Is there a simple way to list all old style actionhandlers that are registered with Umbraco?

    Thanks!

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jul 15, 2009 @ 13:28
    Aaron Powell
    1

    Not without writing your own .NET code to return the ActionHandlers, ActionHandlers are registered by reflecting the types of all loaded assemblies. There isn't any database entries or file entries, it's stored in-memory for quicker access.

     
    IEnumerable<Type> GetTypesWith<T>(bool inherit)
    where T : class
    {
    return from a in AppDomain.CurrentDomain.GetAssemblies()
    from t in a.GetTypes()
    where t.IsSubclassOf(T)
    select t;
    }

    The where condition might be wrong (sorry don't have Windows running ATM to test) but it's pretty much what you can use to get all classes of a particular type.

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Jul 15, 2009 @ 13:49
    Darren Ferguson
    0

    Thanks. good stuff. I'll leave the topic open for now in case anyone has seen these messages before...

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies