Hello,
I created a MergeDocument and get this:
<code>
MergeDocument document = new MergeDocument(MapPath("./pdfs/test.pdf"));
</code>
message:Document can not be decrypted. Invalid owner password
how can i fix this?
can not decrypt document
Re: can not decrypt document
Support · Aug 24, 2006Hello,
It looks like you are merging a PDF which is encrypted with a owner password. In order to merge encrypted PDF documents you have to provide the password for the document while merging.
In order to merge encrypted PDF documents, you have to use the PdfDocument object which takes password as the parameter in one of its overloaded constructor, and pass this PdfDocument object to the overloaded MergeDocument's constructor. This will resolve your problem.
Thanks,
ceTe Software Support Team