FIX: "Invalid Path or Filename" When Opening a ProjectID: Q117835 2.50 2.50a 2.50b 2.60 | 2.50b 2.50c.2.60a
The information in this article applies to:
SYMPTOMSWhen you open a project in FoxPro for Windows after the project has been created or modified by FoxPro for Macintosh, the error message "Invalid path or filename" is displayed. This error occurs when the project is located on a network drive and is accessed by both FoxPro for Macintosh and FoxPro for Windows.
CAUSEThis problem occurs when a screen is included in the project and the screen is generated while the default folder is a folder on the Macintosh hard disk. Opening the project (.PJX) file as a database and examining the contents of the Name field for a record of Type capital "S" shows that the Macintosh hard disk and folder name precede the .SPR filename. This entry in the .PJX file is created when the project regenerates the screen file during rebuilding. The rebuilding process shows the screen being regenerated on the network drive. However, the name written to the .PJX file is preceded by the default folder name.
RESOLUTIONChanging the default folder to the network drive and folder will allow the project to be opened successfully from both platforms. The Name field in the .PJX file for the record(s) of Type capital "S" will now show only the name of the .SPR file (the path isn't included).
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in FoxPro for Macintosh version 2.6a. NOTE: This problem does not occur in FoxPro for MS-DOS.
MORE INFORMATION
Steps to Reproduce Behavior1. In FoxPro for Macintosh, choose View from the Window menu, and then 2. Select the Working folder and set it to the FoxPro folder on the
3. Create a project by choosing New from the File menu and selecting
4. Place a screen on the network drive. Add the screen to the project by
5. Build the project. Note that the .SPR is being built on the network
6. Close the project.
7. In FoxPro for Windows, choose Open from the File menu and select the Additional reference words: FoxMac FoxWin buglist2.50 buglist2.50a
buglist2.50b buglist2.50c buglist2.60 2.50 2.50a 2.50b 2.50c 2.60
errmsg err msg
KBCategory:
KBSubcategory: FxnetworkGeneral
|
|
Last Reviewed: May 22, 1998 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |