| Previous | Next |
| IMAPI_E_FILE_SYSTEM_CHANGE_NOT_ALLOWED | IMAPI_E_IMAGEMANAGER_NO_VALID_VD_FOUND |
IMAPI_E_IMAGEMANAGER_IMAGE_NOT_ALIGNED
IMAPI_E_IMAGEMANAGER_IMAGE_NOT_ALIGNED is returned by IIsoImageManager::Validate when the image size is not a multiple of the 2048-byte user-data sector size. The validator expects an image containing user data only, without per-sector headers or unrelated file framing.
Check image byte length and sector framing
- Measure the exact stream or file length and calculate
size % 2048. - Confirm that the producer emitted ISO user-data sectors rather than 2352-byte raw CD sectors.
- Do not pad blindly until the image-generation format is understood; an incorrect sector representation can also invalidate volume descriptors.
Alignment is a structural prerequisite for validation, not evidence that the filesystem inside the image is correct. After fixing sector alignment, Validate still requires a valid Volume Recognition Sequence and at least one recognized volume descriptor. ECMA-119 and ECMA-167 define optical-disc volume structures referenced by the IMAPI validation contract.
IIsoImageManager Validate · ECMA-119 · ECMA-167
Looking for a different code? Search another status or error code.