“Compressed object is corrupt”
This is most likely the case. You can detect password protected files with pdfdoc.InitSecurityHandler(), which will return false if the file needs password.
You can provide password with pdfdoc.InitStdSecurityHandler(“pass”) as shown in EncTest sample project (snippet #2).
http://www.pdftron.com/pdfnet/samplecode.html#EncTest