PdfReader not opened with owner password error in iText

Ankur picture Ankur · Jul 17, 2013 · Viewed 27.3k times · Source

With reference to this

http://stackoverflow.com/questions/17524857/merging-pdf-in-asp-net-c-sharp/17525948?noredirect=1#comment25485091_17525948 

question of mine, I have user IText for merging the pdf documents. I am getting " PdfReader not opened with owner password " for some files. Any suggestions

Answer

Mesut Başaran picture Mesut Başaran · Jun 27, 2014

Add this code after PdfReader definition

PdfReader.unethicalreading = true;