Error when itextsharp reads PDF: PDF reader not opened with owner password
Error reason: the PDF file is encrypted by the user
Solution: add a line of code after creating the pdfreader instance:
PdfReader.unethicalreading = true;
Similar Posts:
- Python read CSV file prompt “line contains null byte” error
- Analysis of some records in the process of cracking rar password with hashcat and the error reported by separator unmatched
- python csv error: line contains null byte [How to Solve]
- FileReader Object Error: FileReader Error: Object is already busy reading blob
- [github] Push remote: Invalid username or password
- Wechat applet decrypts encrypteddata error: pad block corrupted solution
- Docker-compose Run Error: Couldn’t connect to Docker daemon at http+docker://localhost – is it running?
- [Solved] MYSQL Error: this authentication plugin is not supported
- ERROR 1372 (HY000): Password hash should be a 41-d
- Setting root password after installation of Ubuntu 20.04 LTS