Home » Developer & Programmer » Forms » Error Mesage is "Could not reserve record (2 tries) keep trying ? " (windows xp)
Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504028] Thu, 21 April 2011 03:32 Go to next message
x-oracle
Messages: 380
Registered: April 2011
Location: gujarat
Senior Member
sir,
when i running my form i m receiving this error message Error Message is "Could not reserve record (2 tries) keep trying ? " This is due to multi user Login, How can i avoid from this error message.

  • Attachment: error.pdf
    (Size: 140.87KB, Downloaded 2786 times)
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504030 is a reply to message #504028] Thu, 21 April 2011 03:37 Go to previous messageGo to next message
Littlefoot
Messages: 21817
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
There's nothing much you can do - record has been locked by another user so you'll have to wait until he/she releases it (either by performing commit or rollback).
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504197 is a reply to message #504028] Thu, 21 April 2011 22:47 Go to previous messageGo to next message
rajendra1008
Messages: 4
Registered: June 2009
Location: Belgaum
Junior Member

This is error due to locking Particular user/table..
This is happening due to network issue.
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504200 is a reply to message #504197] Fri, 22 April 2011 00:12 Go to previous messageGo to next message
Littlefoot
Messages: 21817
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Network? I can do that myself, on my own computer, having a database installed on it and a form ran from Forms Builder installed on my computer.

But OK, generally speaking, you are right - people mostly do connect over the network (but THE network is not the main cause. Locking is).
icon14.gif  Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504227 is a reply to message #504200] Fri, 22 April 2011 08:32 Go to previous messageGo to next message
rajendra1008
Messages: 4
Registered: June 2009
Location: Belgaum
Junior Member

But i experience the same thing and found it is network issue,
go to the Enterprise Manager Console >instance>sessions>Locks u will find locks here , kill session issue will clear.


Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504235 is a reply to message #504227] Fri, 22 April 2011 12:57 Go to previous messageGo to next message
joy_division
Messages: 4963
Registered: February 2005
Location: East Coast USA
Senior Member
And then the poor person who has the record locked will have their session killed and all changes lost. Not a good solution at all.
This is really not an error, but a message telling you that the integrity of the data is begin preserved and that you have to wait.
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504305 is a reply to message #504235] Sat, 23 April 2011 02:56 Go to previous messageGo to next message
samssams2006
Messages: 28
Registered: July 2010
Junior Member
??

[Updated on: Sat, 23 April 2011 02:57]

Report message to a moderator

Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504306 is a reply to message #504305] Sat, 23 April 2011 03:00 Go to previous messageGo to next message
ranamirfan
Messages: 535
Registered: January 2006
Location: Pakistan / Saudi Arabia
Senior Member

Dear,
Quote:

"Could not reserve record (2 tries) keep trying ?".


Please try this.Hope it'll help you.

Go to Your's Form Data block property palette
then Database
Locking Mode
Default Automatic
Set Delayed.

then you did not received this error message again.


Regards,
Irfan
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504311 is a reply to message #504306] Sat, 23 April 2011 08:50 Go to previous messageGo to next message
cookiemonster
Messages: 13931
Registered: September 2008
Location: Rainy Manchester
Senior Member
1) That isn't guaranteed to get rid of the message, it depends on how post and commit are used in the forms.
2) It could result in lost updates.
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504312 is a reply to message #504311] Sat, 23 April 2011 08:57 Go to previous messageGo to next message
cookiemonster
Messages: 13931
Registered: September 2008
Location: Rainy Manchester
Senior Member
Having re-read the form builder help topic I take point 2 back. Point 1 stands though.
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504433 is a reply to message #504312] Mon, 25 April 2011 05:28 Go to previous messageGo to next message
ranamirfan
Messages: 535
Registered: January 2006
Location: Pakistan / Saudi Arabia
Senior Member

Mr.shaan121,
Have you solved your problem ?
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504493 is a reply to message #504433] Tue, 26 April 2011 02:22 Go to previous messageGo to next message
x-oracle
Messages: 380
Registered: April 2011
Location: gujarat
Senior Member
no still i cannot resolve my this error.i also did this but still i am getting error.
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504495 is a reply to message #504493] Tue, 26 April 2011 02:23 Go to previous messageGo to next message
x-oracle
Messages: 380
Registered: April 2011
Location: gujarat
Senior Member
i also did this
Go to Your's Form Data block property palette
then Database
Locking Mode
Default Automatic
Set Delayed.

but still i am getting this error
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504504 is a reply to message #504495] Tue, 26 April 2011 02:58 Go to previous messageGo to next message
cookiemonster
Messages: 13931
Registered: September 2008
Location: Rainy Manchester
Senior Member
Someone, other than you, has the record you are trying to update locked.
Ask your DBA's to find out who's got the lock then go and see what they are doing.
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504506 is a reply to message #504504] Tue, 26 April 2011 03:22 Go to previous messageGo to next message
x-oracle
Messages: 380
Registered: April 2011
Location: gujarat
Senior Member
i am also dba.i know this kill session mechanisam but
my actual query is i have one form.and i want multiuser can update and delete in one form.so what can i do.
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504512 is a reply to message #504506] Tue, 26 April 2011 03:27 Go to previous messageGo to next message
ranamirfan
Messages: 535
Registered: January 2006
Location: Pakistan / Saudi Arabia
Senior Member

Multiuser did not Query,update or Delete Same Record because of Locking.
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #504529 is a reply to message #504512] Tue, 26 April 2011 04:08 Go to previous messageGo to next message
cookiemonster
Messages: 13931
Registered: September 2008
Location: Rainy Manchester
Senior Member
You're a DBA and you don't know how oracle locks work?
You can't have multiple users trying to update the same records at the same time. Why would you want to try?
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #526853 is a reply to message #504306] Thu, 13 October 2011 06:22 Go to previous messageGo to next message
x-oracle
Messages: 380
Registered: April 2011
Location: gujarat
Senior Member
hello irfan i did this but still cannot resolve my this error
i am seding you one form code in this form i have this error got



>
>	
>	
>DECLARE
>	CURSOR CUR_POST IS 
>	SELECT DISTINCT PL_EST_MH.EST_M
>	FROM PL_EST_MH
>	WHERE PL_EST_MH.EST_C = :RC_RCVRYNTC_T.EST_C;
>	
> 	CURSOR C1 IS
>	SELECT PARTY_M,ACTPOSS_D,at_altmnt_t.ALTMNTDT_D,ACTLPLTNO_N,ACCT_C
>	FROM AT_APPLCNT_MH,AT_ALTMNT_T,PL_ESTPLTMIX_MD,CO_PARTY_M
>	WHERE AT_APPLCNT_MH.APLICD_C = :RC_RCVRYNTC_T.APLCNT_C
>	AND CO_PARTY_M.PARTY_C = AT_APPLCNT_MH.ACCT_C
>	AND AT_ALTMNT_T.PLOTCD_C = PL_ESTPLTMIX_MD.ESTPLTMIX_C
>	AND AT_APPLCNT_MH.APLICD_C = AT_ALTMNT_T.APLICD_C;
>	
>BEGIN
>	OPEN CUR_POST;
>	FETCH CUR_POST INTO :RC_RCVRYNTC_T.EST_M;
>	CLOSE CUR_POST;
>	
>	OPEN C1;
>	FETCH C1 INTO :RC_RCVRYNTC_T.APPLCNT_NAME,
>	:RC_RCVRYNTC_T.POSSTKNON_D,
>	:RC_RCVRYNTC_T.ALTMNT_D,
>  :RC_RCVRYNTC_T.PLOT_N,:RC_RCVRYNTC_T.ACCNTNT_CD;
>	CLOSE C1;
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #526858 is a reply to message #526853] Thu, 13 October 2011 06:42 Go to previous messageGo to next message
cookiemonster
Messages: 13931
Registered: September 2008
Location: Rainy Manchester
Senior Member
Code like that isn't very meaningful unless you tell us what trigger it is in.
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #526967 is a reply to message #526858] Fri, 14 October 2011 01:34 Go to previous messageGo to next message
x-oracle
Messages: 380
Registered: April 2011
Location: gujarat
Senior Member
Post_query
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #526979 is a reply to message #526967] Fri, 14 October 2011 03:10 Go to previous messageGo to next message
cookiemonster
Messages: 13931
Registered: September 2008
Location: Rainy Manchester
Senior Member
And what makes you think that code is relevant to the error?
I don't see any way it can be.
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #527088 is a reply to message #526979] Sat, 15 October 2011 01:29 Go to previous messageGo to next message
rajendra1008
Messages: 4
Registered: June 2009
Location: Belgaum
Junior Member

i have experienced same error, but i found this is network issue, we changed MM converters and network switches. now problem is fixed and working fine.
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #527149 is a reply to message #527088] Sat, 15 October 2011 13:42 Go to previous messageGo to next message
Littlefoot
Messages: 21817
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
MM converters? What are these?
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #527208 is a reply to message #527149] Mon, 17 October 2011 00:56 Go to previous messageGo to next message
Baranor
Messages: 83
Registered: September 2011
Location: Netherlands
Member
Strange as it may sounds, occasionally Forms throws up a lock when there is no actual lock available, i.e. when a single person is accesing a single record. We've seen this come by in some tests, where there was only one person accesing the data. Still... it locked. Normally that's because you're doing something before you actually start updating that you should not, or have a trigger modify something which cases the record to lock... in other words, you're creating a bug. Go through every trigger you run, step by step. Make sure you don't modify the data beforehand.
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #527240 is a reply to message #527208] Mon, 17 October 2011 03:54 Go to previous messageGo to next message
cookiemonster
Messages: 13931
Registered: September 2008
Location: Rainy Manchester
Senior Member
That should result in the record has been modified by another user error, not Could not reserve record.
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #527252 is a reply to message #527240] Mon, 17 October 2011 04:32 Go to previous messageGo to next message
Baranor
Messages: 83
Registered: September 2011
Location: Netherlands
Member
Unless you fire off something towards the database but don't commit it...
Re: Error Mesage is "Could not reserve record (2 tries) keep trying ? " [message #527266 is a reply to message #527252] Mon, 17 October 2011 05:18 Go to previous message
cookiemonster
Messages: 13931
Registered: September 2008
Location: Rainy Manchester
Senior Member
Well if you do that in sqlplus, or anything else that'd be a different session then yes, obviously.
Previous Topic: Set the properties of a visual attribute group during runtime?
Next Topic: trying java calendar!! need some help!!
Goto Forum:
  


Current Time: Sun Aug 11 12:42:57 CDT 2024