Free Support Forum - aspose.com

PDF to PDF(PDF/A) hangs up

Hi,

During PDF to PDF conversion we had a problem with some files - application hangs up.

Code example below:

using (var inputDocument = new Aspose.Pdf.Document(inputFilePath))
{
inputDocument.Convert(
new MemoryStream(),
PdfFormat.v_1_5,
Aspose.Pdf.ConvertErrorAction.Delete);
inputDocument.Save(outputFilePath);
}

PS. the same issue with PdfFormat.PDF_A_1B.
PPS. Problem files attached.

Hi Mikhail,


Thanks for your inquiry. I have tested the scenario with Aspose.Pdf for .NET 10.7.0 and noticed the reported hang issue. So I have logged a ticket PDFNEWNET-39220 for further investigation and resolution. We will notify you as soon as it is resolved.

We are sorry for the inconvenience caused.

Best Regards,

The issues you have found earlier (filed as PDFNET-39220) have been fixed in Aspose.PDF for .NET 19.4.

Hello,

We’ve tested the fix and both files successfully converted to the PDF, but after converting to PDF/A both files are empty.

Please advise.

Best regards,
UA dev team

@uaprogrammer

Would you please try using Aspose.PDF for .NET 19.8 and in case you still face any issue, please share your sample PDF document along with code snippet. We will test the scenario in our environment and address it accordingly.

HI,

Aspose.pdf.dll 19.11

Both files successfully converted to the PDF, but after converting to PDF/A both files are empty.

Could you provide the information on the topic?

Best regards,

Oleh

@uaprogrammer

We have recorded your feedback and will re-investigate the ticket as per your comments. We will share updates with you as soon as the investigation is completed. Please give us little time.