We currently generate hundred of PDFs a day which are converted from .doc or .docx files. All of these docs have a header image or letterhead and the majority work fine.
However every now and then (maybe once a month) we get a file come out with a red cross replacing the image.
I have no way of replicating this issue and am not getting any errors thrown.
My code is fairly simple and looks like below.
var memoryStream = new MemoryStream(); var doc = new Aspose.Words.Document(new MemoryStream(inputDocxByteArray)); doc.Save(memoryStream, Words.Saving.SaveOptions.CreateSaveOptions(SaveFormat.Pdf)); var outputPdfByteArray = memoryStream.ToArray();
As mentioned above this works 99.99% of the time but sometimes the red cross appears. (See image.png attached)
I understand no one will be able to replicate this with the above code so I was hoping for 2 things:
- Has anyone else experienced this issue recently? That last post I could find was from 2016 and it has not solved my problem.
- Could an Aspose support person explain why/when/how the red cross could appear at all (as in what conditions could cause it to appear). Then maybe I can check if those conditions are occurring in my instance and fix from there.
image.png (1.5 KB)