Unrecoverable error 1010

Post Reply
cllow208
Posts: 20
Joined: Fri Apr 27, 2012 7:53 am

Unrecoverable error 1010

Post by cllow208 »

Kindly help please,

Intermitantly, I am facing the following errors, during indexing and/or accessing data+index files, and it is so unpredictable.


Application Internal Error - \Program Files\RSCPDA1\RSCPDA.exe
Terminated at: 2012.05.21 16:04:59
Unrecoverable error 1010: hb_cdxIndexPageRead: Read index page failed.
Called from DBUNLOCK(0)
Called from PVDATA3(1680) in client2.prg
Called from (b)INDEXFILES(1503) in client2.prg

Application Internal Error - \Program Files\RSCPDA1\RSCPDA.exe
Terminated at: 2012.05.20 17:45:58
Unrecoverable error 1010: hb_cdxIndexPageRead: Read index page failed.
Called from DBUSEAREA(0)
Called from NETUSE(1803) in client2.prg
Called from OPEN_DB(214) in client2.prg


what could have contributed to this kind of unpredictable error ?

Kindly help.

Thanks & best regards.

CL Low


///////////////////////////////////////////////////
.
.
.

Request DBFCDX
RddSetDefault ('DBFCDX')
HB_LANGSELECT( "ENWIN" )

SET DELETED ON
SET DATE TO BRITISH
SET EXACT ON
SET SOFTSEEK ON
SET CENTURY ON
SET EPOCH TO 2000

.
.
.//PVDATA3
select xc
if addrec(3) .and. reclock(3)
for i:=1 to 11
xc->(fieldput(i,CL3->(fieldget(i))))
next
xc->(fieldput(12,date()))
xc->(fieldput(13,time()))
replace xc->pda with zpda
unlock
endif

.
.
.
.

netuse(progpath+"imachine","xx",.T.,3)
ordCreate( (progpath+"ipdainfo" ), "id", "id")
ordCreate( (progpath+"ipdainfo" ), "code", "code" )
sleep(10); CLOSE ALL; dbcloseall()
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Unrecoverable error 1010

Post by Antonio Linares »

CL,

Are you writting on a memory card or in the internal memory of the device ?

Using the memory card may produce random errors. Use the internal memory
regards, saludos

Antonio Linares
www.fivetechsoft.com
cllow208
Posts: 20
Joined: Fri Apr 27, 2012 7:53 am

Re: Unrecoverable error 1010

Post by cllow208 »

Hi Antonio,

In fact the original path was on a network drive "\\lexusprog\lexus\ipdainfo.dbf" . I change to test the target file on the local drive, it gives the same error.

1. I don't have a memory card on the actual machine. IPAD 110 classic handheld.
2. Is writing on the network drive will produce random errors as they were writing on a memory card?
3. ipdainfo.dbf, ipdainfo.cdx are generated by xbase++ (alaska software), the are running fine accessible by other PCs on the network. are foxbase .dbf and .cdx compatible with FWPPC ?

Kindly advise.

Thanks & best regards,
CL Low
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Unrecoverable error 1010

Post by Antonio Linares »

CL,

1. What Windows Mobile version it uses ? Or is it Windows CE ? What version ?

2. There should not be errors on the network if the network connection is fine

3. Are you using xbase++ from pther PCs on the same files ? What xbase++ version ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
cllow208
Posts: 20
Joined: Fri Apr 27, 2012 7:53 am

Re: Unrecoverable error 1010

Post by cllow208 »

Hi Antonio,

1. I am using HP IPAQ 110 classic handheld with windows mobile 6 classic, CE OS 5.2.1616(build 18120)
2. I had tested copying the files from servers to ipaq , reindex, and read/write access with FWPPC situation remains.
3. I am using xbase++ 1.90.355 for 8 years

other than error 1010, sometimes i discover Unrecoverable error 9201: hb_cdxPageKeyLeafBalance: index corrupted.
do you have other examples on file creation, append blank, reclock, unlock other than program as on your clients.zip, maybe i am missing something important on FWPPC ..

Actually, i am stuck for more than 3 solid days.. :oops:


Kindly advise.

Thanks & best regards,
CL Low
cllow208
Posts: 20
Joined: Fri Apr 27, 2012 7:53 am

Re: Unrecoverable error 1010

Post by cllow208 »

Hi Antonio,

May be u are right, i changed the wifi router, everything looks OK now.. Thanks. :lol:

Will feed back to u once i found more info..


Thanks & best regards,
CL Low
Post Reply