System.Runtime.InteropServices.COMException (0x80004005): The file 0 has access restrictions.

Symptoms

The error

System.Runtime.InteropServices.COMException (0x80004005):The
  file 0 has access restrictions

appears at the image loading stage.

Cause

It is often caused by the access restrictions of the input PDF file.

Resolution

FineReader Engine will not be able to process PDF files if it has the following access restrictions:

  1. Content Copying and Content Copying for Accessibility set to Not Allowed.
  2. Content Copying and Page Extraction set to Not Allowed.
  3. Content Copying for Accessibility and Page Extraction set to Not Allowed.
  4. All 3 parameters are set to Not Allowed.

These restrictions are applied in order to meet the conventional industry standards and can not be changed.
Please use 3rd party tools to modify the PDF security settings.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.