transaction aborts on alternate identical attempts

Discussion in 'ASP General' started by Graham, Aug 22, 2003.

  1. Graham

    Graham Guest

    Hi

    I have a page that uploads an xml file and reads it into a SQL database. The
    page is transactional and aborts if there are any anomalies in the xml.

    My problem is that the if I repeat an identical import the transaction
    succeeds the first time and then fails the next time. This pattern continues
    with subsequent repeats. I have removed all of the ObjectContext.setAbort()
    calls but still the onTransactionAbort() sub is called.

    Has anyone ever encountered similar behaviour?

    Thanks in advance

    Graham
    Graham, Aug 22, 2003
    #1
    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. Replies:
    8
    Views:
    2,941
    Jhair Tocancipa Triana
    Sep 10, 2005
  2. Chris
    Replies:
    2
    Views:
    659
    Chris
    Mar 4, 2007
  3. Vencz Istv?n
    Replies:
    2
    Views:
    268
  4. Mike Copeland

    Use of std::string Aborts

    Mike Copeland, Dec 16, 2011, in forum: C++
    Replies:
    10
    Views:
    423
    Mike Copeland
    Dec 19, 2011
  5. Replies:
    10
    Views:
    317
    Sean O'Halpin
    Jul 17, 2006
Loading...

Share This Page