err.raise

Discussion in 'ASP General' started by abcd, Jun 1, 2005.

  1. abcd

    abcd Guest

    I have a VB compoonent I am using

    err.raise err.number, err.source, err.description

    my ASP page doesnt show me the error raised....its shows err.number = 0

    any clues
     
    abcd, Jun 1, 2005
    #1
    1. Advertising

  2. "abcd" <> wrote in message
    news:...
    >I have a VB compoonent I am using
    >
    > err.raise err.number, err.source, err.description
    >
    > my ASP page doesnt show me the error raised....its shows err.number = 0
    >
    > any clues


    That would mean that the Err object has been cleared before the values were
    read from it. Save the Err.Number, etc. values to variables before raising
    an error.

    (Of course you're aware that merely omitting an error handler would
    accomplish the same thing, right?)


    -Mark
     
    Mark J. McGinty, Jun 1, 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.

Share This Page