You are viewing limited content. For full access, please sign in.

Question

Question

Error Generating Pages for Secured PDF

asked on August 12

We are getting errors when attempting to extract pages from Secured Adobe PDF documents.  Is this the expected behaviour?

We recently upgraded to Laserfiche 12.  I think it was working prior to the upgrade.

Error generating pages for 'DocumentName': Object 0 is out of range (1..1446)
 ------------ Technical Details: ------------
   Message: Object 0 is out of range (1..1446)
   Stack trace:    at Š..(PDFCosObject , Int32 )
    at Š..(PDFIndirectReference ,  , Boolean , String )
    at Š..()
    at ..(Stream , Byte[] )
    at O2S.Components.PDFRender4NET.PDFFile.(String , Stream , Byte[] )
    at Laserfiche.PdfServices.PdfExtractor.LoadFile(Stream pdfStream)
    at Laserfiche.PdfServices.PdfExtractor.ImportPDFPagesFromStream(Stream pdfStream, DocumentInfo doc)
    at Laserfiche.PdfServices.PdfExtractor.ImportPDFStream(Stream pdfStream, DocumentInfo doc, DateTime dtLastModified)
    at Laserfiche.PdfServices.PdfExtractor.ImportPDFFile(String strPDFFile, DocumentInfo doc)
    at Laserfiche.Client.ClientHelper.PdfImportHelper.DoWork()
 
 Unknown error. [6000] [6000]

This is the security on the documents.  If I remove most of the restrictions but keep it secured it still generates the same error.

0 0

Answer

SELECTED ANSWER
replied on August 18

Hey Eric,

 

Laserfiche classified this is a bug and Development provided new dll's to replace. To get those dll's you would need to open a case. 

0 0

Replies

replied on August 13

Hey Rob,

 

When importing these files, try disabling Generate Text and Generate Pages and see if that will work for you.

0 0
replied on August 14

When I turn off Generate Pages I can import the documents.  However, I want to generate pages so that staff can use built in Laserfiche annotation tools.

0 0
replied on August 14

Hello,

 

I experienced a similar issue. I had to open a case with Laserfiche to resolve this. I would suggest you contact your Service Provider to open a case with Laserfiche Support. Alternatively, you can roll back to the previous version of Laserfiche 12 or follow Tommy's suggestions to remove Generate Text and Generate Pages. 

 

Regards, 

0 0
replied on August 18

@Drew Ferrell Are you able to share the resolution that Laserfiche provided you?

0 0
SELECTED ANSWER
replied on August 18

Hey Eric,

 

Laserfiche classified this is a bug and Development provided new dll's to replace. To get those dll's you would need to open a case. 

0 0
replied on August 18

Great, thanks. I will have our provider reach out to them. Do you happen to have the bug #?

0 0
replied on August 19

Eric,

 

Bug Bug ID for reference is 595949

2 0
replied on August 19

Awesome, thanks

0 0
replied on August 20

Also, just an fyi. If you attach one of the PDF documents that produces this error to a form and that form is set to convert the pdf, it will error. I have a support case open with Laserfiche on this issue. 

0 0
replied on August 25

Thanks for the responses everyone!  I logged a ticket with our VAR and was able to get the hotfix.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.