Results 1 to 3 of 3

Thread: ADO/SQL/Transactions

  1. #1

    Thread Starter
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    Has anyone come across this error message;

    "Cannot create new transaction because capacity exceeded"

    ?

    If so - do you know what to do to get round it - Microsoft's knowledge base is it's usual un-useful self and we're completely stumped.

    ?
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

  2. #2
    Fanatic Member Gary.Lowe's Avatar
    Join Date
    May 2000
    Location
    In my sphere of influence
    Posts
    621

    Talking

    Buzby

    Are you processing a lot of records then commiting the transaction.

    If you try commiting the transaction after each record rather than a full set of records. This way you know each record is updated rather than hitting an error part way through a recordset an not updating any thing at all
    Gary Lowe
    VB6 (Enterprise) SP5
    ADO 2.6
    SQL Server 7 SP3

    OK I know my spelling and grammer is crap so don't quote me on it!

    To err is human to take the P! is only natural !!

    Click on the top section of image for Marcus Miller website and bottom section of image for 'Run For Cover' sound clip


  3. #3
    Fanatic Member Gary.Lowe's Avatar
    Join Date
    May 2000
    Location
    In my sphere of influence
    Posts
    621

    Unhappy

    Buzby

    Didn't really read you note properly.

    I have had similar errors if I have not rolled back on an error then tried to begintrans again.
    Gary Lowe
    VB6 (Enterprise) SP5
    ADO 2.6
    SQL Server 7 SP3

    OK I know my spelling and grammer is crap so don't quote me on it!

    To err is human to take the P! is only natural !!

    Click on the top section of image for Marcus Miller website and bottom section of image for 'Run For Cover' sound clip


Posting Permissions

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



Click Here to Expand Forum to Full Width