BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cannot create new transaction because capacity was exceeded

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Macro.Wong
Guest





PostPosted: Fri Feb 04, 2005 3:16 am    Post subject: Cannot create new transaction because capacity was exceeded Reply with quote



I get a error "Cannot create new transaction because capacity was exceeded"
when I use Applyupdates on Tclientdataset, Why?


Back to top
Martijn Tonies
Guest





PostPosted: Fri Feb 04, 2005 11:41 am    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote




Quote:
I get a error "Cannot create new transaction because capacity was
exceeded"
when I use Applyupdates on Tclientdataset, Why?

Strange. InterBase supports multiple transactions... Should work ok.


--
With regards,

Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server
Upscene Productions
http://www.upscene.com



Back to top
Bill Todd
Guest





PostPosted: Fri Feb 04, 2005 6:15 pm    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote



It is usually not possible to answer database questions when you do not
tell us which database you are using.

--
Bill Todd (TeamB)
TeamB cannot answer questions received via email

Macro.Wong wrote:

Quote:
I get a error "Cannot create new transaction because capacity was
exceeded"
when I use Applyupdates on Tclientdataset, Why?

Back to top
Macro.Wong
Guest





PostPosted: Sat Feb 05, 2005 1:59 am    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote

hi, Bill Todd,

I'm using Delphi7 + SQL Server, and this error only appear when I edit
record and applyupdates, if I insert record everything is ok.

Thank you!


"Bill Todd" <no (AT) no (DOT) com> дÈëÓʼþ news:4203bbb9$1 (AT) newsgroups (DOT) borland.com...
Quote:
It is usually not possible to answer database questions when you do not
tell us which database you are using.

--
Bill Todd (TeamB)
TeamB cannot answer questions received via email

Macro.Wong wrote:

I get a error "Cannot create new transaction because capacity was
exceeded"
when I use Applyupdates on Tclientdataset, Why?



Back to top
Bill Todd
Guest





PostPosted: Sat Feb 05, 2005 2:48 am    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote

SQL Server 2000 only supports one active transaction per connection.
Apparently there is already a transaction open when you try to start
another one. To get more detailed help post your question in the newsgroup
for the data access components you are using. Use the dbexpress group if
you are using dbExpress and the ado group if you are using the ADO
components.

--
Bill Todd (TeamB)
TeamB cannot answer questions received via email

Back to top
Charles Adriano - Brazil
Guest





PostPosted: Sat Feb 19, 2005 4:42 pm    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote

Bill, the TSQLConnection can create a clone connection in this case?
if yes how i configure? (for AutoCloneCreate)

charles

PD:sorry for my english...

"Bill Todd" <no (AT) no (DOT) com> escribió en el mensaje
news:420433fe$1 (AT) newsgroups (DOT) borland.com...
Quote:
SQL Server 2000 only supports one active transaction per connection.
Apparently there is already a transaction open when you try to start
another one. To get more detailed help post your question in the newsgroup
for the data access components you are using. Use the dbexpress group if
you are using dbExpress and the ado group if you are using the ADO
components.

--
Bill Todd (TeamB)
TeamB cannot answer questions received via email




Back to top
Bill Todd
Guest





PostPosted: Sat Feb 19, 2005 5:10 pm    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote

AutoClone uses the number of active statements, not the number of active
transactions. The correct solution is to find the code that starts the
other transaction and fix it. You do not need to start and commit
transactions with dbExpress. The DataSetProvider handles transaction
control automatically.

--
Bill Todd (TeamB)
TeamB cannot answer questions received via email
Back to top
Charles Adriano - Brazil
Guest





PostPosted: Sat Feb 19, 2005 5:31 pm    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote

well, then if i program at the same time Import Data and Form Data enter its

would not have problem because they would be managed automatically by each
provider?

and if i have a thread, i need one coneection for each thread, dbexpress is
protected for

threading programing?

charles



"Bill Todd" <no (AT) no (DOT) com> escribió en el mensaje
news:421772fd$1 (AT) newsgroups (DOT) borland.com...
Quote:
AutoClone uses the number of active statements, not the number of active
transactions. The correct solution is to find the code that starts the
other transaction and fix it. You do not need to start and commit
transactions with dbExpress. The DataSetProvider handles transaction
control automatically.

--
Bill Todd (TeamB)
TeamB cannot answer questions received via email



Back to top
Bill Todd
Guest





PostPosted: Sat Feb 19, 2005 7:57 pm    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote

It depends on how you program the data import operation. if you import the
data into a a CDS then apply updates you will not have a problem as long
as the data entry form does not try to apply updates at the instant that
the import transaction is active.

Yes, you need a connection per thread.

--
Bill Todd (TeamB)
TeamB cannot answer questions received via email
Back to top
Charles Adriano - Brazil
Guest





PostPosted: Sun Feb 20, 2005 2:20 pm    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote

ok..

thanks Bill

charles

"Bill Todd" <no (AT) no (DOT) com> escribió en el mensaje
news:42179a3d$1 (AT) newsgroups (DOT) borland.com...
Quote:
It depends on how you program the data import operation. if you import the
data into a a CDS then apply updates you will not have a problem as long
as the data entry form does not try to apply updates at the instant that
the import transaction is active.

Yes, you need a connection per thread.

--
Bill Todd (TeamB)
TeamB cannot answer questions received via email



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.