Copied to clipboard

Flag this post as spam?

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


  • vijay 129 posts 152 karma points
    Dec 28, 2009 @ 07:06
    vijay
    0

    How to handle Application level errors in Umbraco?

    Hi all,

    Can any one send me a sample........

    How to handle Application level errors in Umbraco?

    ---vijay.

  • Richard Soeteman 3875 posts 12037 karma points MVP
    Dec 28, 2009 @ 07:29
    Richard Soeteman
    1

    Hi,

    I usually use Elmah to log these kind of errors. Check out this blogpost to read about integrating Elmah into Umbraco.

    Hope it helps you,

    Richard

  • vijay 129 posts 152 karma points
    Dec 28, 2009 @ 08:00
    vijay
    0

    Hello Richard,

             Thanks for your quick reply.But my doubt is how to and where to integrate global.asax in umbraco.

    Please check the below link

    http://our.umbraco.org/forum/developers/extending-umbraco/4752-Extending-Globalasax

    Like they mentioned in that link i created Global.cs file in app_code folder and give reference like it mentioned in ismail's blog.It is running fine while i check my application using visual studio 2005.

    My doubt is how check / Implement that in umbraco.

    I request you to please guide me to solve this.

    -------vijay.

  • Richard Soeteman 3875 posts 12037 karma points MVP
    Dec 28, 2009 @ 09:42
    Richard Soeteman
    0

    Hi Vijay,

    Elmah is a Handler which is almost the same as the global.asax file. You don't need to modify the Global.asax file to implement error logging. Just try it and it will work...

    Cheers,

    Richard

  • vijay 129 posts 152 karma points
    Dec 28, 2009 @ 10:23
    vijay
    0

    I go through the ELMAH documentation and made the changes in my umbraco folder but i didnt understand how to use ELMAH?

    Can u send me any link for using global.asax to trace application level errors......

    Thanks in advance

    vijay.

  • 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