FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour ADSCDX/5035 The requested lock culd not be guaranted.
Posts: 149
Joined: Mon Oct 10, 2005 09:30 AM
ADSCDX/5035 The requested lock culd not be guaranted.
Posted: Wed Jun 21, 2017 08:28 AM
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.
Posts: 817
Joined: Sun Jun 15, 2008 07:47 PM
Re: ADSCDX/5035 The requested lock culd not be guaranted.
Posted: Wed Jun 21, 2017 12:26 PM
______________________________________________________________________________

Sevilla - Andalucía
Posts: 149
Joined: Mon Oct 10, 2005 09:30 AM
Re: ADSCDX/5035 The requested lock culd not be guaranted.
Posted: Wed Jun 21, 2017 04:32 PM

Manu no uso triggers.

Saludos.

Posts: 817
Joined: Sun Jun 15, 2008 07:47 PM
Re: ADSCDX/5035 The requested lock culd not be guaranted.
Posted: Wed Jun 21, 2017 06:32 PM
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...
______________________________________________________________________________

Sevilla - Andalucía
Posts: 149
Joined: Mon Oct 10, 2005 09:30 AM
Re: ADSCDX/5035 The requested lock culd not be guaranted.
Posted: Thu Jun 22, 2017 08:13 AM

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

Gracias por tu interés.

Posts: 244
Joined: Mon Jun 05, 2006 09:39 PM
Re: ADSCDX/5035 The requested lock culd not be guaranted.
Posted: Thu Jun 22, 2017 05:10 PM
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 (fw): Select all Collapse
AdsTestRecLocks( .T. )
Posts: 411
Joined: Sun Jan 31, 2010 03:30 PM
Re: ADSCDX/5035 The requested lock culd not be guaranted.
Posted: Fri Jun 23, 2017 12:21 AM

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.

Continue the discussion