Cannot export attachments from a PDF file (sometimes) ...

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v9)  /  Cannot export attachments from a PDF file (sometimes) ...

DynamicPDF CoreSuite for .NET (v9) Forum

Hello,

I wrote a small, simple program to extract attachments embedded from a given PDF file.  The code opens a PdfDocument(), then gets an array of Attachments(), and then saves data from each Attachment via GetData().  Generally works fine, however every now and again the code would lockup with certain PDF files when calling Attachment.GetData().  The files are not particularly huge (anywhere from 10 to 40 MB).  They are all authored by the same company (EB - Electric Boat), using the same authoring software.  Can you help me?
Posted by a ceTe Software moderator - Commonly asked question
Hello,

Please send the following information over to us at support@dynamicpdf.com  so we can look into this further?

1.        Code sample which uses static data to recreate the behavior.
2.        Source PDF(s) you are using.
3.        Exact version and build number of the DynamicPDF DLL used in the application. You can get this information by right clicking on DynamicPDF DLL file >> Properties>> Details tab. Take a screenshot of Details tab and send it over to us.

Thanks,
ceTe Software Support Team
Have you solved this problem?
We have same issue.  after we got attachment from PDF file, it lockup at attachment.GetData(). No error, no warning, no exception, just lockup. The PDF file itself is not big, about 9M. We can "Save" the attachment through Adobe itself, so looks like the software has bug in it.
Posted by a ceTe Software moderator
Hello,

A similar issue was fixed in version 10 of the product. Please try using the latest version in your application and see it works. You can download the latest from Nuget (product ID: ceTe.DynamicPDF.CoreSuite..NET) or from our website here.

If you continue facing any issues, please send over the above requested information to support@dynamicpdf.com so we can look into it further.

Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 4:56 PM.