The document is corrupted

I use Aspose.Words to output word document.
Then saveas and close the file after editing.
Once again, I open a document, the word application shows “The File is corrupted.”
What causes this problem?
p.s.Not on each computer, the document will be corrupted.

Hi
Thanks for your request. Could you please provide a code or step-by-step manual how we can reproduce the problem? Also, please attach the document produced by Aspose.Words on your side and the corrupted document.
I tried open/save your document using Aspose.Words, then open and save as in MS Word and open the output document using Aspose.Words and MS Word. All works fine on my side.
I used the latest version of Aspose.Words for testing. You can download the latest version from here:
https://releases.aspose.com/words/net
Best regards,