Hi.
I am using the Winforms Syncfusion.Windows.Forms.PdfViewer.PdfDocumentView Control to show PDF files. To load the file, I use the Syncfusion.Pdf.Parsing.PdfLoadedDocument to load its binaries first, and then I use it as the argument for the viewer. This works just fine in my Dev machine. However, it doesn't work in any other machine where the application is deployed.
I have added references to and am distributing the following DLLs:
Syncfusion.Pdf.Base
Syncfusion.PdfViewer.Windows
Syncfusion.Shared.Base
The Exception I get is:
PdfException
Invalid cross reference table.
Source : Syncfusion.Pdf.Base
Stack Trace:
at Syncfusion.Pdf.Parsing.PdfLoadedDocument.LoadDocument(Stream file)
at Syncfusion.Pdf.Parsing.PdfLoadedDocument..ctor(Stream file)
at Syncfusion.Windows.Forms.PdfViewer.PdfDocumentView.Load(Stream stream)
I have attached the offending file.
Would you guys have any word of advice on how to avoid this?
Thanks in advance.
Ivan
Attachment:
Test_5a5ddbe6.7z