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

Question

Question

pdfexporter83 error after Laserfiche upgrade

asked on November 14, 2024 Show version history

I have a workflow that contains a custom script activity that references PdfExporter83. After upgrading LF from version 10.4 to version 11. The custom activity failed with the following error message

Error: Retrieving the COM class factory for component with CLSID {A121D5C4-3DB2-4905-91DA-3AA4ED7A3417} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). at PdfExporter83.COMDocExp..ctor()
at PdfExporter83.PdfExporter.GetPageImage(ILFObject docObject, ILFDocumentPages pages, Int32 pageNum, Boolean applyAnnotations, ILFPage& page, ILFImage& lfImage)
at PdfExporter83.PdfExporter.WritePagesToStream(ILFObject docObject, Stream pdfStream)
at PdfExporter83.PdfExporter.ExportPages(ILFDocument doc)

 

I researched on this COM Class error and most people talks about compiling the library for 32bit or 64bit. But pdfExporter83 is part of Laserfiche's SDK package and I cannot do anything about it. 

 

I already tried deleting the reference and re-add the reference. The script editor did not complain about the reference that it needs to be resolved and building of the script is also fine. The error occurs in runtime.


Any one experience this error after LF upgrade and any possible solution/suggestion?

0 0

Replies

replied on November 14, 2024

PDFExporter83 has not been part of Workflow since version 8.3 and it not one of the files we keep through between upgrades because they're likely to be used in script references. That said, a Workflow upgrade would not have removed it if it existed on the machine.

The script in your support case indicates that the file was referenced from C:\dev. Was this just an upgrade or did you also change servers?

If you no longer have the old PDFExporter83, Tech Support can provide a copy if the customer purchased Laserfiche before or on version 8.3. That said, though, I would strongly recommend rewriting the script with newer libraries. Anything that old may have security vulnerabilities.

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

Sign in to reply to this post.