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?