One of our client installations recently had a frequent intermittent error "Error reading file..."
Filename was "c:\docume~1\<username>\locals~1\temp\<progname.fxp>"
I anticipate the reported filename was the DOS 8.3 version of the following:
c:\Documents and Settings\<username>\LocalSettings\Temp\<progname.fxp>
The <username> specification was the network name for one of our inhouse developer's computers.
Suspecting that the user's error was while trying to read a VFP temporary file (e.g., cursor) in a non-existent directory on that user's computer, I scanned the distributed EXEs for the character string specified in the <username>. I found one EXE that had the above path in the code. I USEd the associated PJX file and found 6 entries with that same character string in the .OBJECTS field (tucked in near the bottom ofl the binary code). These records were for 3 PRGs, 2 SCXs and 1 VCX for that PJX.
Our development directory is on our inhouse network and projects are rebuilt by the developers in that directory.
I rebuilt the EXE (with Recompile All files) and searched again for the same string and it was now gone from the EXE and the associated PJX entries.
I suspect that inclusion of that specific pathname somehow got inserted by the programmer who last built that project.
I have 2 questions:
(1) How did that path get inserted when the programmer rebuilt that project, but not the other nnn times the same programmer rebuilds projects.
(2) Why does the end user only get this error intermittently ?
Any clarification would be appreciated.
Filename was "c:\docume~1\<username>\locals~1\temp\<progname.fxp>"
I anticipate the reported filename was the DOS 8.3 version of the following:
c:\Documents and Settings\<username>\LocalSettings\Temp\<progname.fxp>
The <username> specification was the network name for one of our inhouse developer's computers.
Suspecting that the user's error was while trying to read a VFP temporary file (e.g., cursor) in a non-existent directory on that user's computer, I scanned the distributed EXEs for the character string specified in the <username>. I found one EXE that had the above path in the code. I USEd the associated PJX file and found 6 entries with that same character string in the .OBJECTS field (tucked in near the bottom ofl the binary code). These records were for 3 PRGs, 2 SCXs and 1 VCX for that PJX.
Our development directory is on our inhouse network and projects are rebuilt by the developers in that directory.
I rebuilt the EXE (with Recompile All files) and searched again for the same string and it was now gone from the EXE and the associated PJX entries.
I suspect that inclusion of that specific pathname somehow got inserted by the programmer who last built that project.
I have 2 questions:
(1) How did that path get inserted when the programmer rebuilt that project, but not the other nnn times the same programmer rebuilds projects.
(2) Why does the end user only get this error intermittently ?
Any clarification would be appreciated.