Hi Aspose support,
We have exception on document save: “Unable to read beyond the end of the stream.” on document with ActiveX controls.
We noticed that the problem started reproduce in Aspose.Words.dll v 19.2.0 and still present on latest 19.7.0, previous versions save the document without problems.
Please see the document:AcriveXControl More.zip (60.2 KB)
Codes are simple - open document and save it:
Document doc = new Document(inputFile, new Aspose.Words.LoadOptions() { Password = !string.IsNullOrEmpty(openPassword) ? openPassword : null });
doc.Unprotect();
doc.Save(outputFile, SaveFormat.Docx);
Please help with this problem.