Unrecoverable error 9201: hb_cdxPageSeekKey: wrong parent key

183 views
Skip to first unread message

Rafa Pabd

unread,
May 12, 2023, 5:51:14 AM5/12/23
to Harbour Users
Hi,

I have this error: Unrecoverable error 9201: hb_cdxPageSeekKey: wrong parent key
Cdx harbour standard file broken
Archive.dbf bigger 4GB

Is it error related with dbf size ?

Regards

Gerald Drouillard

unread,
May 12, 2023, 11:20:31 AM5/12/23
to harbou...@googlegroups.com
Have you looked at: DBFLOCKSCHEME

--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/0b0ccda8-169b-4d21-b8cd-0c262bf755ban%40googlegroups.com.

Hansmarc

unread,
May 12, 2023, 3:27:26 PM5/12/23
to Harbour Users
Hi Rafa,

indeed as Gerald mentionned. I had the same kind of problems some years ago.
Below some more info.

      /* Other locking schemes from dbinfo.ch
      // LOCK SCHEMES: RDDI_LOCKSCHEME, DBI_LOCKSCHEME
      #define DB_DBFLOCK_DEFAULT      0
      #define DB_DBFLOCK_CLIPPER      1   // default Cl*pper locking scheme
      #define DB_DBFLOCK_COMIX        2   // COMIX and CL53 DBFCDX hyper locking scheme
      #define DB_DBFLOCK_VFP            3   // [V]FP, CL52 DBFCDX, SIx3 SIXCDX, CDXLOCK.OBJ
      #define DB_DBFLOCK_HB32         4   // Harbour hyper locking scheme for 32-bit file API, table size max 4GB
      #define DB_DBFLOCK_HB64         5   // Harbour hyper locking scheme for 64-bit file API, table size no limit
      #define DB_DBFLOCK_CLIPPER2     6   // extended Cl*pper locking scheme NTXLOCK2.OBJ
      */
      SET(_SET_DBFLOCKSCHEME, DB_DBFLOCK_HB32 )       // 4 = max 4GB

Regards
Hans
Reply all
Reply to author
Forward
0 new messages