PRB: "Overwrite Invalid FoxUser File..." Each Time Fox Starts

This article was previously published under Q114269
This article has been archived. It is offered "as is" and will no longer be updated.
SYMPTOMS
Every time FoxPro starts, it displays the following error message:
Overwrite invalid FoxUser file with a new empty one? Yes/No
CAUSE
  • The configuration file contains a RESOURCE = line with a path that points to a nonexistent directory or folder. -or-

  • The resource files are corrupt.
RESOLUTION
  • Change the path in the RESOURCE = line so that it points to a valid directory or folder. -or-

  • Rename the resource files (FOXUSER.DBF and FOXUSER.FPT). FoxPro will build new resource files the next time it starts.
MORE INFORMATION
The configuration file is usually CONFIG.FPW in FoxPro for Windows,CONFIG.FP in FoxPro for MS-DOS, and CONFIG.FPM in FoxPro forMacintosh.

Sample Situation That May Cause This Error When Upgrading FoxPro

This situation may occur when you are using the configuration file from aprevious installation of FoxPro with a new FoxPro installation. Forexample, FoxPro version 2.5 for Windows installs to a directory namedFOXPROW by default. FoxPro version 2.6 for Windows installs to a directorynamed FPW26 by default.

If the following situation occurs, the RESOURCE = line will point to aninvalid directory:
  1. FoxPro version 2.5 for Windows exists in a directory named FOXPROW. The CONFIG.FPW file in FOXPROW contains a "RESOURCE=C:\FOXPROW\FOXUSER.DBF" line.
  2. FoxPro version 2.6 for Windows is installed in a directory named FPW26.
  3. The CONFIG.FPW file in FOXPROW is copied to FPW26.
  4. The FOXPROW directory is deleted.
At this point, the CONFIG.FPW file in FOXPROW contains a RESOURCE = linepointing to C:\FOXPROW, which doesn't exist.
VFoxWin FoxMac FoxDos FoxWin 2.50 2.50a 2.50b 2.50c config.fp(w) errmsg err msg akz
Properties

Article ID: 114269 - Last Review: 12/04/2015 10:08:52 - Revision: 2.1

Microsoft Visual FoxPro 3.0 Standard Edition, Microsoft FoxPro 2.6 Standard Edition, Microsoft FoxPro 2.6a Standard Edition, Microsoft FoxPro 2.0, Microsoft FoxPro 2.6 for MS-DOS, Microsoft FoxPro 2.6a Standard Edition, Microsoft FoxPro 2.6a Professional Edition for Macintosh

  • kbnosurvey kbarchive kberrmsg KB114269
Feedback