Some Error Codes from IMGEXP.EXE

  • 3268140
  • 26-Apr-2007
  • 30-Apr-2012

Environment

Novell ZENworks 7 Desktop Management Support Pack 1 - ZDM7 SP1 Imaging

Situation

IMGEXP.EXE generates an error when retrieving an image (zmg) file.

Resolution

Assuming that the version of IMGEXP has not changed between the creation and edit of the zmg file, it is most likely necessary to send the zmg file to Novell Technical Support for analysis. This partial list of error code definitions may suggest environment considerations as well:
ZIP_SUCCESS 0

ZIP_IN_PROGRESS -101 //Tried to initialize library before it was shutdown

ZIP_NOT_INITIALIZED -102 //Tried to shutdown a non-initialized library

ZIP_BAD_COMP_LEVEL -103 //Tried to init with invalid compLevel

ZIP_BAD_INIT -104 //Initi attempt failed

ZIP_BAD_FINISH -105

ZIP_STREAM_ERROR -106 //zip library returned a Z_STREAM_ERROR

ZIP_NO_MEMORY -107 //Failed to allocate memory for buffers

ZIP_BAD_INPUT_READ -110 //Failed while reading from input file

ZIP_COMP_ERROR -111 //Error during compression

ZIP_DECOMP_ERROR -112 //Error during decompression

ZIP_ARCHIVE_READ_ERROR -120 //Error read from archive

ZIP_ARCHIVE_WRITE_ERROR -121 //Error writing to archive

ZIP_BAD_IMG_HEADER -122

ZIP_BAD_PART_HEADER -123

ZIP_BAD_FILE_HEADER -124

ZIP_BAD_FORK -125

ZIP_ARCHIVE_NO_DISK_SPACE -126 //Not enough disk space to write to a file
ZIP_NO_DATA -130 //No data forks were found to extract

ZIP_NOT_A_FILE_RECORD -131 //Data buffer provided is not an NTFS file record

ZIP_NTFS_COMPRESSED_FILE_EXTRACT_ERROR -132 //NTFS Compressed File cannot be extracted, hence error

ZIP_USER_ABORTED -140 //User aborted with cancel button