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
Diego
Guest





PostPosted: Tue Mar 08, 2005 7:32 pm    Post subject: Cannot create new transaction because capacity was exceeded Reply with quote



Hello guys I'm getting the error
Cannot create new transaction because capacity was exceeded
when I try to applyUpdates on a master detail table and sometimes
on editing some fields ....

Can someone give me a light ?

Thanks a lote,
Regards,
Diego
Back to top
Bill Todd
Guest





PostPosted: Tue Mar 08, 2005 8:39 pm    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote



Not likely unless you tell us what database you are using.

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

Diego wrote:

Quote:
Can someone give me a light ?

Back to top
Ramesh Theivendran(Borlan
Guest





PostPosted: Tue Mar 08, 2005 11:53 pm    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote



This error is associated with MSSQL.

T.Ramesh.
"Bill Todd" <no (AT) no (DOT) com> wrote

Quote:
Not likely unless you tell us what database you are using.

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

Diego wrote:

Can someone give me a light ?



Back to top
Diego
Guest





PostPosted: Wed Mar 09, 2005 11:58 am    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote


I'm using MSSQL and I need help :/

Thanks a lote guys !

Ramesh how can I solve this ?
Can you give me some tip or something ?

Regards,
Diego.

Back to top
Bill Todd
Guest





PostPosted: Wed Mar 09, 2005 2:04 pm    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote

SQL Server only allows one active transaction per connection.

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





PostPosted: Wed Mar 09, 2005 2:45 pm    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote

So how can I solve that ?

Do you know some work around for this ?

becuse I've an master detail table so when I applyupdates it gives me
the error but its a simple master detail with clientdataset !

Thanks a lote Bill
Regards,
Diego.
Back to top
Bill Todd
Guest





PostPosted: Wed Mar 09, 2005 2:55 pm    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote

I assume that the problem is that something in your app is leaving a
transaction open and you are trying to start another transaction when you
apply updates. The solution is to only have one transaction active at one
time. This is not a bug in dbExpress. It is a limitation of SQL server and
you must write your code to work within this constraint.

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





PostPosted: Wed Mar 09, 2005 8:24 pm    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote

Hey Bill I'm posting an Message named To Bill Todd - MSSQL Scheme in the
newsgroup borland.atachments

So Bill can you take a look and say to me what am I doing wrong ?

Thanks,
Regards,
Diego.
Back to top
Bill Todd
Guest





PostPosted: Wed Mar 09, 2005 9:03 pm    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote

Sorry but I do not have the time at the moment.

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

Diego wrote:

Quote:
So Bill can you take a look and say to me what am I doing wrong ?

Back to top
Remo Tex
Guest





PostPosted: Thu Mar 10, 2005 5:59 am    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote

S.th. not quite right with this picture. Please read some info on
master detail, nested datasets etc.

http://bdn.borland.com/article/0,1410,29825,00.html
see DataModule2 picture there (see mine too: borland.public.attachments)

I think there should be only one DataSetProvider Applying updates see
attachment masd.jpg (in borland.public.attachments)
HTH
http://codecentral.borland.com/codecentral/ccWeb.exe/listing?id=19633
http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=19632
-----
Diego wrote:
Quote:
Hey Bill I'm posting an Message named To Bill Todd - MSSQL Scheme in the
newsgroup borland.atachments

So Bill can you take a look and say to me what am I doing wrong ?

Thanks,
Regards,
Diego.

Back to top
Diego
Guest





PostPosted: Thu Mar 10, 2005 1:00 pm    Post subject: Re: Cannot create new transaction because capacity was excee Reply with quote

Thanks Remo
No its working without the transaction error !

I think that if you do an master detail using the scheme that I show ya
the client dataset apply the updates to the other client dataset the
seens to apply updates to so it creates a new transaction then the sql
raises the error :/
But Now its working fine :)

Thanks a lote Remo,
Regards,
Diego.
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.