We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Word can not be opened


I am trying to save the word document after adding a bookmark in it. but after saving, the saved document does not open. I tried a sample test program on that particular document, Here I am attaching it. can you please let me know, why I face the issue. Looks like the problem with taskpane App, which is included in the document. I tried doing .clear on customparts data. but not sure, what exactly is custom parts data and is there any regression for it. please see the attachments for more clarity.

Hi there,

Thanks for your inquiry. We have tested the scenario using latest version of Aspose.Words for Java 16.2.0 with following code example and have not found the shared issue. Please use Aspose.Words for Java 16.2.0.

If you still face problem, please create a standalone Java application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

Document ad = new Document(MyDir + "Preview_j.docx");
DocumentBuilder builder = new DocumentBuilder(ad);
ad.save(MyDir + "Output.docx");