TopScan shows "90 - File System Error / Cannot Create TopSpeed FCB" on a TPS file

Applies to: every Clarion version with the TopSpeed driver, TopScan and TPSFIX (reported in 2009).

Problem

Opening a TPS file in TopScan gives 90 - File System Error with the text Cannot Create TopSpeed FCB. The app had been using the file normally before.

Solution

  1. The message means the file is corrupted (Shankar). Run TPSFIX on it, preferably with an example file: an empty copy of the same TPS file renamed to .TPE, so TPSFIX knows the structure.
  2. Check the REBUILD KEYS option in TPSFIX. The original poster skipped it: the fixed file opened in TopScan and held about 100 records, but the app's browses showed nothing, because the keys had not been rebuilt.
  3. If the keys are still missing, rebuild them in TopScan: File -> Advanced -> rebuild all keys.
  4. If TPSFIX cannot re-index a unique key because the corruption produced duplicate records, the key rebuild fails for that reason; resolve the duplicates, or restore the file from a backup (what the poster first did).

Caveats

  • A "fixed" file that opens in TopScan is not proven good: the browse-shows-nothing symptom came from unbuilt keys, so always rebuild the keys after TPSFIX.
  • Mark R. noted that this is the one situation to be careful with FM2/FM3's Refresh.
  • The thread does not say what corrupted the file in the first place.

Today (2026)

Not re-tested; TPSFIX and TopScan carry the same options on current Clarion releases, so the steps likely hold. Error 90 remains the TopSpeed driver's "file system error" for a file it cannot open as a TPS file.

Sources: Frode R. (Sep 2009, the question), Shankar, Mark R. (Sep 2009) in softvelocity.clarion.databasedrivers.