In a search function we have used for years, 2 clients on the same server reported the error below. Remarkable thing was (for one of the clients, for the other I don't know yet) that the problem only occurred with one specific search string of 3 (normal) letters. Then I copied the dbf +cdx to my system, which is like the server running under ADS (the error suggest ADS has something to do with it) there was no problem at all. For the first client I eventually copied all the data to a new dbf using dbMax and reindexed from there which seems to have solved it (for now) it but nor the error, nor the circumstances nor the 'solution' make any sense.
What could have caused this? What does the error say, especially
%V1s%V2s in Conversion %s to %s
Code line (cKey is what they typed in to search for):
Code: Select all
nMax := Min(oAdres:orderkeycount(),15*SLen(cKey))
Error:
GenCode 27 -> Undefined class
SubSystem -> AXDBFCDX
SubCode 5041 -> %V1s%V2s in Conversion %s to %s
FuncSym -> ORDERKEYCOUNT FuncPtr 0x00000000
VO-Description -> Error 5041: The requested object was not found. Key not found.
MethodSelf -> Adres
Dick