Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

ADO Transaction Error:  Cannot create new transaction because capacity was exceeded.

Posted on 2004-10-06
3
2,851 Views
Last Modified: 2012-05-05
I'm using an ADO connection object in my VB6 app to connect to a SQL Server 2000 database.  The connection works fine (I'm able to use the connection to populate recordsets, etc.), but when I try to call ADOcon.BeginTrans, it raises the error "Cannot create new transaction because capacity was exceeded."  I have no other open transactions at the time of the error.  I've searched the web and found minimal support on this error, and the few things I found did not solve my problem (increasing the database and transaction log sizes was the main one).

Any ideas?
0
Comment
Question by:TravisMS
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
Snarf0001 earned 250 total points
ID: 12242347
Though I haven't had this problem before, I did a quick search on it, and the most popular idea seems to be to set the cursor location to adUseClient.

http://www.dbforums.com/showthread.php?t=551665
0
 

Author Comment

by:TravisMS
ID: 12248396
Thanks for the link.  I've actually already looked at that link a couple of times.  However, it made me think a little more about that aspect, and I found an additional recordset that was open using that connection that was using a server-side cursor rather than a client-side cursor, and that was causing the problem.

Thanks again.
0
 
LVL 22

Expert Comment

by:Snarf0001
ID: 12248434
np
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes some very basic things about SQL Server filegroups.
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question