We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose PDF download Error "Offline key cannot be decrypted- redownload pdf file"

Dear Team,


Our client is using Aspose.PDF(9.1 version) and Aspose.word for merging the documents into single output.
There documents are stored in IIS therefore we download them from URL using

WebClient client = new WebClient()

Byte[] bytes = client.DownloadData(url);

MemoryStream pdfStream = new MemoryStream(bytes);

Aspose.Pdf.Document doc=new Aspose.Pdf.Document(pdfStream);

The above is running ok however recently they have reported an issue where one PDF is not getting downloaded from code and the error they are getting is following

" Offline key cannot be decrypted, redownload pdf file"

However they are able to manually download the file.

Please can you help to sort out the issue since it is on their production environment therefore critical.


Thanks
Umer



Hi Umer,


Thanks for your inquiry. We will appreciated if if you please share the problematic PDF document here, so we will look into the issue and will guide you accordingly.

We are sorry for the inconvenience caused.

Best Regards,

Hi Umer,


Adding more to Tilal’s comments, as the issue is occurring for particular PDF file in specific application, if possible, please do share a sample application which can help us in replicating the issue in our environment.