Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

ADO-Trapping Oracle Errors

Discussion in 'Information Technology' started by Alt255, Jul 28, 2006.

  1. Alt255

    Alt255
    Expand Collapse
    Guest

    Hello everyone I have tried looking and using the Error collection for
    ADo Cennection, but I'm trying to capture a ORA-01017 error. The error
    handler I use is only report the VBA error
    -2147217843. Is this an actual VBA error that means "invalid login". I
    would rather capture the Oracle error, is there a way in ADO to capture
    the native Oracle Server Errors? ( outside of searching for the string
    the err.description)
     
  2. Loading...

    Similar Threads Forum Date
    Sikh News Oracle's exclusive brand outlets in Punjab, Delhi (Indian Express Finance via Yah Breaking News Dec 12, 2007
    Takeover weighs on Oracle profit (SiliconValley.com) Interfaith Dialogues Mar 24, 2005
    Oracle Scoops Up PeopleSoft in $10.3B Deal Interfaith Dialogues Dec 14, 2004

  3. RoyVidar

    RoyVidar
    Expand Collapse
    Guest

    > Hello everyone I have tried looking and using the Error collection
    > for ADo Cennection, but I'm trying to capture a ORA-01017 error. The
    > error handler I use is only report the VBA error
    > -2147217843. Is this an actual VBA error that means "invalid login".
    > I would rather capture the Oracle error, is there a way in ADO to
    > capture the native Oracle Server Errors? ( outside of searching for
    > the string the err.description)


    Are you using the VB(A) error object, or looping the the errors
    collection of ADO?

    See for instance http://support.microsoft.com/kb/167957/EN-US/ or look
    up the Errors Collection in the documentation.

    --
    Roy-Vidar
     

Share This Page