Global Error handling in Applicatio_Error() of Global.asax

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Global Error handling in Applicatio_Error() of Global.asax

    Hi all,

    For a web application if we are using web farm, and if i want to do Global
    Error handling can i use Applicatio_Error() method in global.asax.
    Now in this method i will call business object which will log the exception
    details into database, file etc....... am not sure if there will be any
    performance issues or any other issues in web farm , when many users get
    exception at the same time and try to access the Applicatio_Error() method
    at the same time......

    If anyone has used please let me know an foreseen issues..........

    Thanks
    VSK



    VSK Guest

  2. Similar Questions and Discussions

    1. global.asax
      Hi all! I've created a simple aspx application and when I run it locally on my pc all works fine. If I move it on the web server I get the...
    2. C# error - Could not load type TGA.Global.asax
      I am new to C# and have imported a C# application developed by another developer into my development box. I am getting an error that I cannot fix...
    3. Parser Error Message in Global.asax.cs
      When I upload files to the server I get this error : "Parser Error Message: Could not load type 'YaddaYadda.Global'. Source Error: Line 1: ...
    4. What is Global.asax?
      It's the class file definition code for the Session and Application events - if you have anything that should be done when a user first connects or...
    5. Global ASAX error
      Sounds like references have been removed from your web.config file. Look in your web.config file under...
  3. #2

    Default Re: Global Error handling in Applicatio_Error() of Global.asax

    yes you can do this but you need to lock the logging mechanism when you
    write to it and unlock it when you are done. the same concurrency rules
    apply here
    "VSK" <vskacct@hotmail.com> wrote in message
    news:Ot9l7mPVDHA.2328@TK2MSFTNGP12.phx.gbl...
    > Hi all,
    >
    > For a web application if we are using web farm, and if i want to do
    Global
    > Error handling can i use Applicatio_Error() method in global.asax.
    > Now in this method i will call business object which will log the
    exception
    > details into database, file etc....... am not sure if there will be any
    > performance issues or any other issues in web farm , when many users get
    > exception at the same time and try to access the Applicatio_Error() method
    > at the same time......
    >
    > If anyone has used please let me know an foreseen issues..........
    >
    > Thanks
    > VSK
    >
    >
    >

    Alvin Bruney Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139