| View previous topic :: View next topic |
| Author |
Message |
Macro.Wong Guest
|
Posted: Fri Feb 04, 2005 3:16 am Post subject: Cannot create new transaction because capacity was exceeded |
|
|
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
|
Posted: Fri Feb 04, 2005 11:41 am Post subject: Re: Cannot create new transaction because capacity was excee |
|
|
| 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
|
Posted: Fri Feb 04, 2005 6:15 pm Post subject: Re: Cannot create new transaction because capacity was excee |
|
|
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
|
Posted: Sat Feb 05, 2005 1:59 am Post subject: Re: Cannot create new transaction because capacity was excee |
|
|
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
|
Posted: Sat Feb 05, 2005 2:48 am Post subject: Re: Cannot create new transaction because capacity was excee |
|
|
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
|
Posted: Sat Feb 19, 2005 4:42 pm Post subject: Re: Cannot create new transaction because capacity was excee |
|
|
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
|
Posted: Sat Feb 19, 2005 5:10 pm Post subject: Re: Cannot create new transaction because capacity was excee |
|
|
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
|
Posted: Sat Feb 19, 2005 5:31 pm Post subject: Re: Cannot create new transaction because capacity was excee |
|
|
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
|
Posted: Sat Feb 19, 2005 7:57 pm Post subject: Re: Cannot create new transaction because capacity was excee |
|
|
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
|
Posted: Sun Feb 20, 2005 2:20 pm Post subject: Re: Cannot create new transaction because capacity was excee |
|
|
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 |
|
 |
|