ADSCDX/5035 The requested lock culd not be guaranted.

Post Reply
User avatar
manuelcalerosolis
Posts: 149
Joined: Mon Oct 10, 2005 9:30 am
Location: Huelva - Spain

ADSCDX/5035 The requested lock culd not be guaranted.

Post by manuelcalerosolis »

Hola a todos.

Hace ya algunas semanas cambie mis libs de borland 5.8.2 cw32.lib a cw32mt.lib, tenia q hacer este cambio, pq empece a usar HDO (SQLite) de Manu Expósito y necesita esta lib, por el uso q hace de las funciones '__endthreadex' y '__beginthreadex'.

Desde ese momento noto q mi app q usa Advantage me genera aleatoriamente este error :

ADSCDX/5035 The requested lock culd not be guaranted.

y la aplicación se vuelve bastante inestable.

Me gustaría saber si alguien le ha ocurrido algo similar y si ha conseguido solucionarlos, no me gustaría dejar de usar HDO, pq quiero empezar el largo proceso de migrar mis tablas a SQL, y HDO me es de mucha utilidad y va realmente bien.

Gracias a todos los q me podáis ayudar.

Saludos.
xmanuel
Posts: 613
Joined: Sun Jun 15, 2008 7:47 pm
Location: Sevilla
Contact:

Re: ADSCDX/5035 The requested lock culd not be guaranted.

Post by xmanuel »

______________________________________________________________________________
Sevilla - Andalucía
User avatar
manuelcalerosolis
Posts: 149
Joined: Mon Oct 10, 2005 9:30 am
Location: Huelva - Spain

Re: ADSCDX/5035 The requested lock culd not be guaranted.

Post by manuelcalerosolis »

Manu no uso triggers.

Saludos.
xmanuel
Posts: 613
Joined: Sun Jun 15, 2008 7:47 pm
Location: Sevilla
Contact:

Re: ADSCDX/5035 The requested lock culd not be guaranted.

Post by xmanuel »

Aqui http://devzone.advantagedatabase.com/dz ... _codes.htm tienes la lista de errores 5xx mira el 5035 a ver si es de eso...

Por lo que he podido leer parece que otro ha bloqueado ese registro o antes de ser actualizado se ha borrado.

Si buscas en google esto "advantage error 5035" te salen respuestas que tal vez te valgan...
______________________________________________________________________________
Sevilla - Andalucía
User avatar
manuelcalerosolis
Posts: 149
Joined: Mon Oct 10, 2005 9:30 am
Location: Huelva - Spain

Re: ADSCDX/5035 The requested lock culd not be guaranted.

Post by manuelcalerosolis »

Manu, ya he buscado en google y lo q encuentro no me ha valido para nada de momento.

Gracias por tu interés.
User avatar
Giovany Vecchi
Posts: 129
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: ADSCDX/5035 The requested lock culd not be guaranted.

Post by Giovany Vecchi »

manuelcalerosolis wrote:Hola a todos.

Hace ya algunas semanas cambie mis libs de borland 5.8.2 cw32.lib a cw32mt.lib, tenia q hacer este cambio, pq empece a usar HDO (SQLite) de Manu Expósito y necesita esta lib, por el uso q hace de las funciones '__endthreadex' y '__beginthreadex'.

Desde ese momento noto q mi app q usa Advantage me genera aleatoriamente este error :

ADSCDX/5035 The requested lock culd not be guaranted.

y la aplicación se vuelve bastante inestable.

Me gustaría saber si alguien le ha ocurrido algo similar y si ha conseguido solucionarlos, no me gustaría dejar de usar HDO, pq quiero empezar el largo proceso de migrar mis tablas a SQL, y HDO me es de mucha utilidad y va realmente bien.

Gracias a todos los q me podáis ayudar.

Saludos.
Try adding this parameter at startup

Code: Select all

AdsTestRecLocks( .T. )
 
russimicro
Posts: 179
Joined: Sun Jan 31, 2010 3:30 pm
Location: Bucaramanga - Colombia

Re: ADSCDX/5035 The requested lock culd not be guaranted.

Post by russimicro »

The requested lock could not be granted. The file or record may be locked by another user.
This error can also occur when using the Advantage proprietary table type (ADTs) and the current record has been deleted.

Linux Note If using a pre-2.4 kernel, it is possible to get this error because of an incorrect lock offset range. See USE_LOW_LOCK_OFFSETS for more details.
Post Reply