Free Support Forum - aspose.com

Very Urgent

Aspose.Pdf.Pdf pdfDoc = new Aspose.Pdf.Pdf();

pdfDoc.IsImagesInXmlDeleteNeeded = true;

pdfDoc.BindXML(xmldoc,null);

pdfDoc.Save(docGeneratedName);

pdfDoc = null; ---- On this line following error comes

A first chance exception of type '?.?' occurred in aspose.pdf.dll

Hi,

Thank you for considering Aspose.

I have tested you code and can't get this exception. Can you please provide the xml and images and let me test again? And it is strange that the exception thrown on the last line.