ADSCDX/5035 The requested lock culd not be guaranted.

ADSCDX/5035 The requested lock culd not be guaranted.

Postby manuelcalerosolis » Wed Jun 21, 2017 8: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.
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.

Postby xmanuel » Wed Jun 21, 2017 12:26 pm

______________________________________________________________________________
Sevilla - Andalucía
xmanuel
 
Posts: 756
Joined: Sun Jun 15, 2008 7:47 pm
Location: Sevilla

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

Postby manuelcalerosolis » Wed Jun 21, 2017 4:32 pm

Manu no uso triggers.

Saludos.
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.

Postby xmanuel » Wed Jun 21, 2017 6: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
xmanuel
 
Posts: 756
Joined: Sun Jun 15, 2008 7:47 pm
Location: Sevilla

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

Postby manuelcalerosolis » Thu Jun 22, 2017 8: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.
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.

Postby Giovany Vecchi » Thu Jun 22, 2017 5: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: Select all  Expand view

AdsTestRecLocks( .T. )
 
User avatar
Giovany Vecchi
 
Posts: 205
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

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

Postby russimicro » 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.
russimicro
 
Posts: 217
Joined: Sun Jan 31, 2010 3:30 pm
Location: Bucaramanga - Colombia


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 17 guests