Copied to clipboard

Flag this post as spam?

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


  • leeatkinson 33 posts 44 karma points
    Jul 21, 2009 @ 19:26
    leeatkinson
    0

    Debugging 'Error loading customControl ...'

    Hi - I have created a Macro that uses a .NET server control. It seems to work adding it to Umbraco Macros (I can browse and select the control's properties, etc). However, when I include the control, either within a template or within the richtext editor, I get the error message:

    Error loading customControl (Assembly: My,Assembly, Type: 'My.Control.Type'

    Is there a way to identify what the error is, so that I can attempt to resolve it?

     

    Regards

     

    Lee

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jul 21, 2009 @ 20:51
    Dirk De Grave
    0

    Hi Lee,

    Not sure if this will help, but at this point, any pointers may do? Have you tried wrapping the .net server control in a custom control and referencing that user control from your macro?

     

    Cheers,

    /Dirk

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jul 21, 2009 @ 20:51
    Dirk De Grave
    0

    custom control = user control -> Have you tried wrapping the .net server control in a user control and referencing that user control from your macro?

     

    /Dirk

  • leeatkinson 33 posts 44 karma points
    Jul 23, 2009 @ 17:34
    leeatkinson
    0

    Hi Dirk

    Yes I have, and when I use the user control (.ascx) in a standard asp.net web page, it works fine. When I try to use it in Umbraco, I get an error :(

    Lee

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Jul 23, 2009 @ 17:44
    Sebastiaan Janssen
    0

    Try to have a look at the trace by adding "?umbDebugShowTrace=true" to the current URL, or "?umbDebug=true".

    That should help debugging a little!

  • leeatkinson 33 posts 44 karma points
    Jul 24, 2009 @ 13:15
    leeatkinson
    0

    Thanks Sebastiaan - I'll try that!

Please Sign in or register to post replies

Write your reply to:

Draft