GetPageCount error

The problem is that the file is corrupt (it has a bad xref table).

The good news is that the current version of PDFNet (https://groups.google.com/forum/#!forum/pdfnet-webviewer) can fix this type of corruption on the fly.