Hi, recently we have upgraded Aspose.Words for .NET to version 18.104.22.168. We are using version for 3.5 .NET framwork.
There is problem when document is saved as PDF file. File can be open with Windows reader, on in browser, but when we try to open document with Adobe Acrobat Reader DC following error is displayed: “There was an error opening this document. The file is damaged and could not be repaired.”
In code we are creating document form word template and we are using merge fields to populate template. After merge document is saved as doc or pdf.
Doc document is open without any problems, but pdf document cannot be open in Adobe reader. Please see attached files (template, doc and pdf) AsposeProblem.zip (94.9 KB)
We have also tried to use latest version of Aspose.Words (22.214.171.124) with same results.
Could you please check what is the problem, this is big issue for our users.
MemoryStream outputStream = new MemoryStream();