byte[] byteContent = ReadFully(receiveStream);
MemoryStream memStream = new MemoryStream(byteContent);
Aspose.Words.Document doc;
doc = new Aspose.Words.Document(memStream);
Previously we were using 14.7.0.
We are using windows XP and Visual Studio 2008.
We get Unknown File Format with the attached 'BIR NOA2.doc’
I tried to update our aspose words to 14.11.0 but still same error.
After formatting the doc to ‘BIR NOA.doc’, aspose is able to load it.
But we can not force our clients to edit their documents to a specific formatting so we are getting issues raised everytime Unknown File Format is thrown.
Hopefully you can shed some light to our issues.
Thanks
Hi JB,
Sorry, I was unable to reproduce this issue using your code and samples at my end. Both files load without any issue using the latest version. Can you please share a runnable VS2008 project to reproduce the issue?
Best Regards,
Thanks for your reply.
Sorry but I can not share my VS2008 project.
The files is encrypted using TripleDESCryptoServiceProvider.
After decryption, we use Aspose to load it but “Unkown file format” is thrown.
See attached file Sample.docx.
If I change the font or insert a new line before the 1st character, Aspose is able to load it.
–
JB
Hi,
Regarding WORDSNET-11190, we have completed the work on this issue and concluded to close this issue with “Won’t fix” status because even MS Word shows “File Corrupted” message for this document. Please see my previous post for analysis details.