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

Free Support Forum - aspose.com

Doc Save to pdf Object reference Error


We get an object reference error when saving the Word document as pdf.
Aspose version: 19.3
Save code: doc.Save(this.UploadDirectory + fileName.Substring(0, fileName.LastIndexOf(’.’)) + “.pdf”, Aspose.Words.SaveFormat.Pdf);

Document: error.zip (7.2 MB)



We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-18296. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-18296) have been fixed in this Aspose.Words for .NET 19.4 update and this Aspose.Words for Java 19.4 update.