Base page class error handling

Discussion in 'ASP .Net' started by tschulken, Jun 3, 2005.

  1. tschulken

    tschulken Guest

    I am developing a web app in vb.net. I created a base page class for my
    pages and in the page_error event I wrap the exception to collect some
    common data elements known to all pages so that this can get logged
    later on. I also want some specific pages (derived from the base class)
    to also catch the page_error after the base page_error is done with it.
    This is so I can add some data specific to that page to the exception.
    My problem is that after the base page_error fires the derived
    page_error does not fire (unlike some other events like Load). Is
    page_error supposed to work that way or am I doing something wrong?
    Thanks in advance.
    tschulken, Jun 3, 2005
    #1
    1. Advertising

  2. Hi,

    Kindly post both the error handler codes, so as to get a better idea.

    --
    HTH,
    Rakesh Rajan
    MVP, MCSD
    http://www.msmvps.com/rakeshrajan/



    "tschulken" wrote:

    > I am developing a web app in vb.net. I created a base page class for my
    > pages and in the page_error event I wrap the exception to collect some
    > common data elements known to all pages so that this can get logged
    > later on. I also want some specific pages (derived from the base class)
    > to also catch the page_error after the base page_error is done with it.
    > This is so I can add some data specific to that page to the exception.
    > My problem is that after the base page_error fires the derived
    > page_error does not fire (unlike some other events like Load). Is
    > page_error supposed to work that way or am I doing something wrong?
    > Thanks in advance.
    >
    >
    =?Utf-8?B?UmFrZXNoIFJhamFu?=, Jun 3, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Doug
    Replies:
    1
    Views:
    388
  2. Managed Code
    Replies:
    3
    Views:
    7,783
    Eliyahu Goldin
    Jul 31, 2006
  3. Alf P. Steinbach
    Replies:
    6
    Views:
    531
    John Carson
    Sep 3, 2005
  4. Hicham Mouline
    Replies:
    1
    Views:
    580
    Victor Bazarov
    Apr 20, 2009
  5. Karan Rajput
    Replies:
    2
    Views:
    129
    Abinoam Jr.
    Dec 22, 2010
Loading...

Share This Page