Microsoft KB Archive/49497: Difference between revisions
From BetaArchive Wiki
m (Text replacement - "<" to "<") |
m (Text replacement - ">" to ">") |
||
Line 12: | Line 12: | ||
<div id="TitleRow"> | <div id="TitleRow"> | ||
= <span id="KB49497"></span>PRB: D2027 or D1001 Error: Cannot Execute '<Path | = <span id="KB49497"></span>PRB: D2027 or D1001 Error: Cannot Execute '<Path>Filename' = | ||
Latest revision as of 09:19, 21 July 2020
Article ID: 49497
Article Last Modified on 12/1/2003
APPLIES TO
- Microsoft FORTRAN Compiler 4.0
- Microsoft FORTRAN Compiler 4.01
- Microsoft FORTRAN Compiler 4.1
- Microsoft FORTRAN Compiler 5.0
- Microsoft FORTRAN Compiler 5.1
- Microsoft FORTRAN Compiler 4.0
- Microsoft FORTRAN Compiler 4.01
- Microsoft FORTRAN Compiler 4.1
- Microsoft FORTRAN Compiler 5.0
- Microsoft FORTRAN Compiler 5.1
This article was previously published under Q49497
SYMPTOMS
An attempt to compile an application fails and the compiler generates one of the following messages. In FORTRAN version 5.1:
In FORTRAN version 5.0:
In FORTRAN versions 4.0, 4.01, and 4.1:
CAUSE
These errors occur under the following four conditions:
- The system cannot find the F1.EXE file. This condition can be caused by a terminate-and-stay-resident (TSR) program that alters the setting of the PATH environment variable. -or-
- Insufficient memory is available. If you are running PWBED.EXE instead of PWB.COM, it is possible that there is not enough memory left to build the application. -or-
- The EXE file is corrupt or it has an illegal EXE file format. -or-
- The installed version of MS-DOS and the COMMAND.COM file are incompatible. If the MS-DOS and COMMAND.COM version numbers are identical, the compiler may not successfully open the intermediate file in the TMP directory.
RESOLUTION
The corresponding techniques to address the four conditions above are as follows:
- Modify your AUTOEXEC.BAT file (CONFIG.SYS file in OS/2) to remove as many TSR programs and special device drivers as possible.
- Use the MEM command to check available memory. FORTRAN requires at least 320K memory free (512K recommended).
- If the F1.EXE program is corrupted, make a fresh copy from the distribution disks.
- If the VER.EXE utility and COMMAND.COM do not report identical version numbers and manufacturers, reinstall the operating system or obtain the correct version of COMMAND.COM.
Additional query words: 4.00 4.01 4.10 5.00 5.10
Keywords: KB49497