Please login or register.

Login with username, password and session length
Advanced search  


SMF - Just Installed!

Author Topic: PDF file is not opened  (Read 3350 times)


  • Jr. Member
  • **
  • Posts: 1
    • View Profile
PDF file is not opened
« on: February 14, 2020, 05:39:16 AM »

Hello! I am evaluating Ivy and it seems to work pretty well. However, I have a strange PDF which in Adobe Reader works. If I open in Ivy it gets' the error that "UglyToad.PdfPig.Core.PdfDocumentFormatException: 'Could not read the first token in the document at position 0.'".

Do you guys know why?
The code that reads PDF is the simplest one:

            PdfParser p = new PdfParser(IvyDocumentReader.ReadPdf(pdfFileName));
            var text = p.ExtractText();

            return p.Text;

The problematic PDF is at: https://drive.google.com/open?id=1malOKp5-M3ZKAXxdQ8mNal4mLpX24_iE


  • Administrator
  • Full Member
  • *****
  • Posts: 33
    • View Profile
Re: PDF file is not opened
« Reply #1 on: February 17, 2020, 11:29:24 PM »

Hello Tilutza,

Sorry to hear about your problem. Could you let me know what version of IvyPdf you are using?
I just tried opening it with 1.61.4 and it seems working fine. There were a few issue fixed recently, so I'm hoping this one has been fixed already. Could you please try it and confirm?


Thank you,
Andrew - IvyTools Support