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

Free Support Forum - aspose.com

Cannot convert to pdf/a from pdf

Hi there

I’m using Aspose PDF for .net 18.12.

i try to convert to pdf/a from pdf.
the convert result is true.
but the result of validation is false.

and when i open the pdf/a file in adobe acrobat reader it doesn’t show the message(“The file you have opened complies with the PDF/A standard and has been opened read-only to prevent modification.”).

please help~

below is my code

// for convert

string src = “pptx.pdf”;
string dst = “pptx_a1b.pdf”;
string log = “log.txt”;

Document pdfDocument = new Document(src);
bool isPdfa = pdfDocument.Convert(log, PdfFormat.PDF_A_1B, ConvertErrorAction.Delete); // “isPdfa” is true

// for validate

string pdfa = “pptx_a1b.pdf”;
string log = “log.txt”;
Document pdfDocument = new Document(pdfa);
bool isPdfa = pdfDocument.Validate(log, PdfFormat.PDF_A_1B); // “isPdfa” is false

test_pdfa.zip (2.5 MB)


We were able to replicate the issue while testing the scenario with Aspose.PDF for .NET 20.9 and logged it as PDFNET-48825 in our issue management system. We will further look into its details and keep you informed with the status of its rectification. Please be patient and spare us some time.

We are sorry for the inconvenience.