"Save as" makes corrupt PDF files

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Viewer (v2)  /  "Save as" makes corrupt PDF files

DynamicPDF Viewer (v2) Forum

 Oct 28 2015 6:13 AM
Hello!

We have a problem with our PDFviewer. Our system creates PDF files with Dynamic PDF generator and shows them in the viewer. Our users then sometimes use the Save as-command for saving their reports.

The strange thing is that sometimes, but not always, the file gets corrupted. When you try to open it with for example Adobe Acrobat it says something like "the file is corrupted, maybe because it was sent as an email...." (we gets the error message in Swedish so maybe a strange translation...)

It's very random when it happens, the only command used is
 

aPDFViewer.SaveAs(MySaveFileDialog.FileName)

PDFviewer is declared:
Friend WithEvents aPDFViewer As ceTe.DynamicPDF.AxViewer.Control.DynamicPDFViewerControl

We use VB.Net 2012

Is there any way to get around this?

Best regards

Hanna


 Oct 28 2015 12:23 PM
Posted by a ceTe Software moderator
Hello Hanna,

We have not seen this error while using DynamicPDF Viewer ActiveX control. Please send over the following details to support@cete.com so we can look into it further.

1.Code sample or sample project which uses static data to recreate the error.
2.Exact version and build number of the Viewer control. You can find this information on clicking the about button on the tool bar.
3.Input PDFs that produce the error.

Thanks,
ceTe Software Support Team.
Thanks for fast reply, as always. Will send you the details!

BR,

Hanna

All times are US Eastern Standard time. The time now is 8:12 PM.