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

Question

Question

An error occurred while generating the process image.

asked on July 14, 2022

Hello,

   When I try to generate a process image within Laserfiche Forms, I receive the following error message.

 

An error occurred while generating the process image. Please try again later. [LFF2609-FailToGenerateProcessImage]

 

   I get the same message on different processes I've tried, so I don't think it's process specific?

 

   Anyone out there have any suggestions? We're using Laserfiche Forms Professional Version 11.0.2106.10367

 

Thanks,
Michael

1 0

Replies

replied on July 15, 2022

There should be a more detailed error in the Forms event log. Do you mind posting that here?

1 0
replied on July 22, 2022

I have a client who is encountering a similar error. Below is the detailed log.

An error occurred while generating the process image. Please try again later. [LFF2609-FailToGenerateProcessImage]

In the event viewer: Log Name:      System
Source:        Microsoft-Windows-DistributedCOM
Date:          7/21/2022 8:23:20 AM
Event ID:      10016
Task Category: None
Level:         Error
Keywords:      Classic
User:          XXXXXXXX\laserficheservice
Computer:     XXX>XXXX-XXXXXX
Description:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID 
{2593F8B9-4EAF-457C-B68A-50F6B8EA6B54}
and APPID 
{15C20B67-12E7-4BB6-92BB-7AFF07997402}
to the user XXXXXXX\laserficheservice SID (S-1-5-21-2126451634-XXXXXX5321-319577017-7592) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
    <EventID Qualifiers="0">10016</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8080000000000000</Keywords>
    <TimeCreated SystemTime="2022-07-21T15:23:20.631621900Z" />
    <EventRecordID>246028</EventRecordID>
    <Correlation ActivityID="{ac1d9a0e-1384-403c-9274-855dc510a819}" />
    <Execution ProcessID="1004" ThreadID="3740" />
    <Channel>System</Channel>
    <Computer>XXXXXXXXXX</Computer>
    <Security UserID="S-1-5-21-212645163XXXXXX5321-319577017-7592" />
  </System>
  <EventData>
    <Data Name="param1">application-specific</Data>
    <Data Name="param2">Local</Data>
    <Data Name="param3">Activation</Data>
    <Data Name="param4">{2593F8B9-4EAF-457C-B68A-50F6B8EA6B54}</Data>
    <Data Name="param5">{15C20B67-12E7-4BB6-92BB-7AFF07997402}</Data>
    <Data Name="param6">XXXXXX</Data>
    <Data Name="param7">laserficheservice</Data>
    <Data Name="param8">X-X-5-XX-2126451634-XXXXXX5321-319577017-7592</Data>
    <Data Name="param9">LocalHost (Using LRPC)</Data>
    <Data Name="param10">Unavailable</Data>
    <Data Name="param11">Unavailable</Data>
  </EventData>
</Event>

 

0 0
replied on July 30 Show version history

Was there any resolution found for this? I keep running into this error today. It happens every time I try to generate an image of the Forms Process. Below are the log details. We are using Forms Professional 11.0.2311.50564.

Log Name:      Laserfiche-Forms-App/Operational
Source:        Laserfiche-Forms-App
Date:          7/30/2025 1:21:55 PM
Event ID:      2609
Task Category: FailToGenerateProcessImage
Level:         Error
Keywords:      Session0,Session1,Session2,Session3
User:          XXXXX
Computer:      XXXXX
Description:
An error occurred while generating the process image. Please try again later. [LFF2609-FailToGenerateProcessImage]

Details:
URL: /Forms/webapi/v1/businessprocess/8/ExportCanvas?format=png&isRTL=false&timezone=Eastern+Standard+Time
Error: FailToGenerateProcessImage
Date: 7/30/2025 1:21:55 PM (US Mountain Standard Time)
HTTP Status Code: 500
Business Process ID: 0
User: XXXXX
IP: XXXXX
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0
Business Process Name: 

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: An error occurred while generating the process image. Please try again later. [LFF2609-FailToGenerateProcessImage]
   at Laserfiche.Forms.CommonUtils.HtmlToImageConverter.<ConvertAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at E_Forms.Classes.ProcessModelerScreenshot.<GenerateScreenshotAsync>d__16.MoveNext()


Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Laserfiche-Forms-App" Guid="{98141CA4-660B-51C6-66B4-EC37F5B2FD87}" />
    <EventID>2609</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>62925</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000f00000000000</Keywords>
    <TimeCreated SystemTime="2025-07-30T20:21:55.647531000Z" />
    <EventRecordID>2584194</EventRecordID>
    <Correlation />
    <Execution ProcessID="6964" ThreadID="5156" />
    <Channel>Laserfiche-Forms-App/Operational</Channel>
    <Computer>XXXXX</Computer>
    <Security UserID="XXXXX" />
  </System>
  <EventData>
    <Data Name="message">An error occurred while generating the process image. Please try again later. [LFF2609-FailToGenerateProcessImage]

Details:
URL: /Forms/webapi/v1/businessprocess/8/ExportCanvas?format=png&amp;isRTL=false&amp;timezone=Eastern+Standard+Time
Error: FailToGenerateProcessImage
Date: 7/30/2025 1:21:55 PM (US Mountain Standard Time)
HTTP Status Code: 500
Business Process ID: 0
User: XXXXX
IP: XXXXX
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0
Business Process Name: 

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: An error occurred while generating the process image. Please try again later. [LFF2609-FailToGenerateProcessImage]
   at Laserfiche.Forms.CommonUtils.HtmlToImageConverter.&lt;ConvertAsync&gt;d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at E_Forms.Classes.ProcessModelerScreenshot.&lt;GenerateScreenshotAsync&gt;d__16.MoveNext()

</Data>
  </EventData>
</Event>

 

0 0
replied on July 30

Have you changed any server settings recently? It was supposed to access primary Forms server URL and print page as image with chromium. 

0 0
replied on July 31

No. It appears to happen when we are trying to have the image created from one of the secondary Forms servers on the load balancer and not the Primary Forms Server.

0 0
replied on July 31

I just noticed that ExportCanvas request would print with URL from the calling API, not the primary server URL.

To troubleshoot the issue, you may set log level to debug and enable detailed logging when generating PDF. Then after trying to generate an image, get the log from C:\ProgramData\Laserfiche\Forms\Logs\PuppeteerLogs and search for URL "BP/routing/download". See if the URL could be opened on your secondary Forms server.

If you could not find the data, please open a support ticket, thanks.

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

Sign in to reply to this post.