Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2004-10-06
3
Medium Priority
?
2,959 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 750 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

715 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