File Errors

The following messages result from problems with the files used to build the Help file.

1019 Project file extension cannot be .HLP or .PH.

PROBLEM: You cannot specify a Help project file with an.HLP or a .PH extension. Project files must use the .HPJ extension.

RESULT: The compiler aborts the build.

SOLUTION: Rename the Help project file, and then recompile.

1030 File name exceeds limit of 259 characters.

PROBLEM: The combined length of the path and filename must not be more than the MS-DOS limit of 259 characters.

RESULT: The compiler ignores the file.

SOLUTION: Shorten the path, and then recompile.

1079 Out of file handles.

PROBLEM: The compiler does not have enough available file handles to continue the build. This error is likely to occur if you are compiling in an MS-DOS box or if you are using Help Author and have Word for Windows running at the same time.

RESULT: The compiler aborts the build.

SOLUTION: If possible, increase the FILES setting in the CONFIG.SYS file to Files=50. Then reboot your computer and recompile.

1100 Cannot open file filename: permission denied.

PROBLEM: You do not have the required file privileges to open the requested file. Requested files must have at least read privilege to be opened.

RESULT: The compiler ignores the file.

SOLUTION: Change your access privileges if you are working on a secured network, or change the file attributes to read only or read/write.

1150 Cannot overwrite file filename.

PROBLEM: The Help compiler cannot overwrite files with a read-only attribute. For example, this error occurs if you rebuild an existing .HLP file and the .HLP file is read-only.

RESULT: The compiler aborts the build.

SOLUTION: Change the file’s read-only attribute if you want the Help compiler to overwrite the file; otherwise, rename the file.

1170 File filename is a directory.

PROBLEM: A directory in the Help project directory has the same name as the requested Help file. This is an MS-DOS file error.

RESULT: The compiler ignores the file.

SOLUTION: Move or rename the directory or the Help project file, and then recompile.

1190 Cannot use reserved MS-DOS file name filename.

PROBLEM: The file has a reserved MS-DOS filename, such as COM1, LPT2, or PRN. This is an MS-DOS file error.

RESULT: The compiler ignores the file.

SOLUTION: Rename the file, and then recompile.

1230 File filename not found.

PROBLEM: The specified file could not be found or is unreadable. This is an MS-DOS file error or an out-of-memory condition.

RESULT: If the file not found is an RTF topic file, the compiler ignores the file. If the file is a bitmap file, the built Help file displays the “Unable to display picture” message in the topic instead of the bitmap.

SOLUTION: Check to see if the file exists, and also check the amount of available memory.

1292 File filename is not a valid bitmap.

PROBLEM: The specified bitmap file could not be found or is not in a recognizable bitmap format. This is an MS-DOS file error or an out-of-memory condition.

RESULT: The Help file displays the “Unable to display picture” message in the compiled topic instead of the bitmap.

SOLUTION: Check to see if the file exists; if it does, check its format. If necessary save the file again in your paint or draw program, and then recompile.

1319 Disk full.

PROBLEM: There is not enough disk space to write the Help file to disk.

RESULT: The compiler aborts the build.

SOLUTION: Create more space on the destination disk, and then recompile.

1513 Bitmap name filename duplicated.

PROBLEM: The [BITMAPS] section contains duplicate bitmap names.

RESULT: The compiler uses the first occurrence of the name.

SOLUTION: Rename one of the duplicate bitmap files, and then recompile.

1536 Not enough memory to compress bitmap filename.

PROBLEM: The specified bitmaps cannot be compressed due to insufficient memory, or the compiler does not have enough memory to check bitmap files. The compiler also displays this error if any of the specified bitmaps are segmented hypergraphics (.SHG files), since the .SHG files may contain searchable hot spots.

RESULT: The Help compiler does not check or compress the bitmap files.

SOLUTION: Free more memory and then recompile. Refer to the “Getting Around Memory Problems” section in Chapter 17 for suggestions on how to free more memory for the build. If you can’t overcome your memory constraints, you may have to compile without compression or remove some of the graphics in the topic files.

1000 UNKNOWN ERROR, Contact Microsoft Product Support Services

PROBLEM: This error message is the equivalent of an assertion failure.

RESULT: The compiler aborts the build.

SOLUTION: Contact Microsoft Product Support Services.