Solved

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

Posted on 2004-10-06
3
2,904 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
[X]
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
  • 2
3 Comments
 
LVL 23

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 23

Expert Comment

by:Snarf0001
ID: 12248434
np
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

623 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