Site icon EfmSoft

What does HRESULT 0x800300FB (STG_E_INVALIDHEADER) mean?

 
Previous Next
STG_E_ABNORMALAPIEXIT STG_E_INVALIDNAME

STG_E_INVALIDHEADER

Usually a container-identification problem

STG_E_INVALIDHEADER means Structured Storage rejected the file as a valid Compound File Binary Format container at the header stage. The first possibility is simple: the application was given the wrong file type, such as a modern Office ZIP package, plain text, HTML error page, zero-byte placeholder, or a file renamed with a legacy extension. The other possibility is damage to the compound-file header caused by truncation, incomplete download, overwrite, or media failure.

The CFB specification defines a fixed header and format fields that tell a reader how to interpret sectors and allocation data. A matching filename extension is not evidence that those bytes are intact. This is why the same error can appear for a completely unrelated file and for a formerly valid document whose beginning was damaged.

Safe checks before repair

References


Looking for a different code? Search another status or error code.

Exit mobile version