Opening .doc files

Hi there,

I’m trying to use Aspose.Words for a very simple task: We need conversion between doc-, odt- and docx-documents.

To reach this goal, I installed latest Mono on my MacBook, unpacked the Aspose.Words msi file on Windows and copied those to my Mac.

Trying the sample code from [1] (attached) with my sample file, I get the following output:

Loading.

The document appears to be corrupted and cannot be loaded.

Done. Press any key.

Opening the document, saving it as docx, and accordingly changing the document path shows me that the sample code works perfectly for docx files.

[1] https://docs.aspose.com/words/net/system-requirements/

Hi
Thanks for your inquiry. I tested your document on my environment and all works fine. I use windows XP OS.
Which version of Aspose.Words do you use? I use the latest 5.2.2 version. If you use the same version then it is environment issue. I don’t have MacOS now and can’t check it out.
Could you provide me your environment configuration?
Best regards.

I just tried the same code on Debian (in a Parallels VM) - This time, everything’s working.

This is enough for me. If you want to further debug the problem, I can provide more details.

Hi
It is nice that all works fine now.
Best regards.