Microsoft KB Archive/121722

= PRB: "Memo File Missing/Invalid" Error with Project File =

Article ID: 121722

Article Last Modified on 12/3/2003

-

APPLIES TO


 * 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
 * Microsoft FoxPro 2.6 for SCO/UNIX

-



This article was previously published under Q121722



SYMPTOMS
When you attempt to modify or build a project, one of the following error messages appear:

 FoxPro 2.x:

Memo file missing/invalid

-or-

 Visual FoxPro:

Memo file  is missing or is invalid



After this error occurs, the project cannot be built or compiled.



CAUSE
This error is usually caused by one of the following two problems:


 * The project's memo file (.PJT) is damaged, missing, or corrupt.

-or-
 * A file referenced in the project contains a faulty memo file. FoxPro report, menu, and screen files all contain corresponding memo files. These files have extensions of .FRT, .MNT, and .SCT, respectively.



MORE INFORMATION
A FoxPro project contains two separate files: a .PJX file (database) and a .PJT file (memo). Both of these files store crucial information about the project.

To Troubleshoot This Problem

 * 1) Check that both the .PJX and .PJT files exist in the same directory. After moving a project to a new location, the memo file is sometimes left in the previous directory.
 * 2) Create a new project and add the main program to it. Build the new project into an application. If the project memo file (.PJT) is damaged or corrupt, this technique corrects the problem.
 * 3) Open each file referenced in the project to determine if that file has a damaged or corrupt memo file. For example, to open a screen file as a database, type "USE .scx" (without the quotation marks) in the Command window. If FoxPro detects a bad memo file, an error message will appear.

Additional query words: VFoxWin FoxUnix FoxMac FoxDos FoxWin 2.50 2.50a 2.50b 2.50c tshoot errmsg err msg

Keywords: kberrmsg KB121722

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.