Alaska Software Inc. - Error when i create the index
Username: Password:
AuthorTopic: Error when i create the index
Jorge LError when i create the index
on Fri, 05 Oct 2012 19:24:55 -0300
Hi to all
i have a random problem and curiosus in windows server 2003 -sp2

i create an index over a dbf in exclusive mode

      dbUseArea( .F., "DBFCDX", cPATH + 'TRANSF_.DBF', 'uTR', .F. )
      FErase( cPATH + 'TRANS__.CDX' )
      uTR->( dbZAP() )                      vacio luego de haber abierto 
el temporal
      uTR->( OrdCreate( cPATH + 'TRANS__.CDX', 'IND01', 'OPENSEL', { || 
uTR->OPENSEL } ) )

when execute ordcreate(), i have this error
oError:args         :
          -> VALTYPE: C VALUE: 
\\192.168.1.200\SISTEMA\REDDELLIBRO\DOWNLOAD\TRANS__.CDX
          -> VALTYPE: C VALUE: IND01
          -> VALTYPE: C VALUE: OPENSEL
          -> VALTYPE: B VALUE: { || uTR->OPENSEL }
oError:canDefault   : Y
oError:canRetry     : Y
oError:canSubstitute: N
oError:cargo        : NIL
oError:description  : D
oError:filename     :
oError:genCode      :       8999,00
oError:operation    : OrdCreate
oError:osCode       :          0,00
oError:severity     :          2,00
oError:subCode      :          0,00
oError:subSystem    : BASE
oError:thread       :          1,00
oError:tries        :          1,00

CALLSTACK:
LLamada de STANDARD_EH(536)
LLamada de (B)ERRORSYS(45)
LLamada de ACTUALIZAR(64)
LLamada de MAIN(205)

the index was created, but the program abend

but , with this change i solve the problem

Sleep( 10 )
uTR->( OrdCreate( cPATH + 'TRANS__.CDX', 'IND01', 'OPENSEL', { || 
uTR->OPENSEL } ) )

can anybody tellme why can occurs this ?

thanks and regards
Jorge LRe: Error when i create the index
on Sat, 06 Oct 2012 11:37:33 -0300
hi to all

The problem was not solved using sleep that though it improved the 
disadvantage, but fixing correctly the permissions of the folder

regards


"Jorge L"  escribió en el mensaje de 
noticias:1b152c98$4bc9c9fd$6c4ab@news.alaska-software.com...

Hi to all
i have a random problem and curiosus in windows server 2003 -sp2

i create an index over a dbf in exclusive mode

      dbUseArea( .F., "DBFCDX", cPATH + 'TRANSF_.DBF', 'uTR', .F. )
      FErase( cPATH + 'TRANS__.CDX' )
      uTR->( dbZAP() )                      vacio luego de haber abierto
el temporal
      uTR->( OrdCreate( cPATH + 'TRANS__.CDX', 'IND01', 'OPENSEL', { ||
uTR->OPENSEL } ) )

when execute ordcreate(), i have this error
oError:args         :
          -> VALTYPE: C VALUE:
\\192.168.1.200\SISTEMA\REDDELLIBRO\DOWNLOAD\TRANS__.CDX
          -> VALTYPE: C VALUE: IND01
          -> VALTYPE: C VALUE: OPENSEL
          -> VALTYPE: B VALUE: { || uTR->OPENSEL }
oError:canDefault   : Y
oError:canRetry     : Y
oError:canSubstitute: N
oError:cargo        : NIL
oError:description  : D
oError:filename     :
oError:genCode      :       8999,00
oError:operation    : OrdCreate
oError:osCode       :          0,00
oError:severity     :          2,00
oError:subCode      :          0,00
oError:subSystem    : BASE
oError:thread       :          1,00
oError:tries        :          1,00

CALLSTACK:
LLamada de STANDARD_EH(536)
LLamada de (B)ERRORSYS(45)
LLamada de ACTUALIZAR(64)
LLamada de MAIN(205)

the index was created, but the program abend

but , with this change i solve the problem

Sleep( 10 )
uTR->( OrdCreate( cPATH + 'TRANS__.CDX', 'IND01', 'OPENSEL', { ||
uTR->OPENSEL } ) )

can anybody tellme why can occurs this ?

thanks and regards