Hi there, I am trying to extract the content of a word document by using POIFSFileSystem to open the document. POIFSFileSystem throws the following exception when trying to load the document: Invalid header signature; read 0x615C316674725C7B, expected 0xE11AB1A1E011CFD0 I have attached the document which has the problem. Please help resolve the issue. Thanks and Regards, Gitu
No document was attached so I can't be sure, but that error is almost always caused by trying to open a file that isn't an OLE2 document. It's probably something like plain text, rtf, html or similar. Word is quite forgiving about what it'll open with a .doc extension