Page 1 of 1

ADSCDX/5035 The requested lock culd not be guaranted.

PostPosted: Wed Jun 21, 2017 8:28 am
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.

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

PostPosted: Wed Jun 21, 2017 12:26 pm
by xmanuel

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

PostPosted: Wed Jun 21, 2017 4:32 pm
by manuelcalerosolis
Manu no uso triggers.

Saludos.

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

PostPosted: Wed Jun 21, 2017 6:32 pm
by xmanuel
Aqui http://devzone.advantagedatabase.com/dz/webhelp/advantage9.1/mergedProjects/adserror/err5xxx/advantage_5xxx_error_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...

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

PostPosted: Thu Jun 22, 2017 8:13 am
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.

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

PostPosted: Thu Jun 22, 2017 5:10 pm
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  Expand view

AdsTestRecLocks( .T. )
 

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

PostPosted: Fri Jun 23, 2017 12:21 am
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.