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

Question

Question

Laserfiche Forms fails on Save to Repository

asked on July 25, 2022 Show version history

Our networking team recently re-hosted the Laserfiche server to a new VM host. I now have at least one situation in which Forms is unable to save into the repository.

We are running Forms 10.4.1.

Here is the XML error message:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Laserfiche-Forms-App" Guid="{98141CA4-660B-51C6-66B4-EC37F5B2FD87}" /> 
  <EventID>14112</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>51422</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x4000f00000000000</Keywords> 
  <TimeCreated SystemTime="2022-07-25T20:53:33.383558900Z" /> 
  <EventRecordID>47502</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="1696" ThreadID="1556" /> 
  <Channel>Laserfiche-Forms-App/Admin</Channel> 
  <Computer>LaserGCPubWeb.gc.sda.org</Computer> 
  <Security UserID="S-1-5-21-2702743658-2123751988-160678389-18709" /> 
  </System>
- <EventData>
  <Data Name="message">The PDF generator was unable to contact the Laserfiche Forms server. Please ensure your SSL settings are correct. [LFF4112-PdfNetworkError] Details: URL: Error: PdfNetworkError Date: 7/25/2022 4:53:33 PM (Eastern Standard Time) HTTP Status Code: 404 Business Process ID: 2035 Instance ID: 35583 Business Process Name: SEC COI for GCC Other: aux: Loading pages (1/6) [> ] 0% [======> ] 10% [========> ] 14% [==========> ] 18% [============> ] 21% [===============> ] 26% [=================> ] 29% [====================> ] 34% [=======================> ] 39% [===========================> ] 45% [==============================> ] 50% [===================================> ] 59% [===============================================> ] 79% [====================================================> ] 88% [======================================================> ] 90% [======================================================> ] 90% Error: Failed to load https://laser.gc.adventist.org/Forms/form/print/35583/2107/2035/46098/Dd, with network status code 202 and http status code 403 - Error downloading https://laser.gc.adventist.org/Forms/form/print/35583/2107/2035/46098/Dd - server replied: Forbidden [============================================================] 100% QWin32PrintEngine::initialize: OpenPrinter failed (The RPC server is unavailable.) QWin32PrintEngine::initialize: OpenPrinter failed (The RPC server is unavailable.) Counting pages (2/6) [============================================================] Object 1 of 1 Resolving links (4/6) [============================================================] Object 1 of 1 Loading headers and footers (5/6) Printing pages (6/6) [> ] Preparing [============================================================] Page 1 of 1 Done Exit with code 1 due to network error: ContentOperationNotPermittedError Stack Trace: Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException Message: The PDF generator was unable to contact the Laserfiche Forms server. Please ensure your SSL settings are correct. [LFF4112-PdfNetworkError] at Laserfiche.Forms.CommonUtils.HtmlToPdfConverter.GeneratePrint(String& pdfFileLoc, String& tifFileLoc, SaveMode saveMode) at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus)</Data> 
  </EventData>
  </Event>

Here's the error message in text:

The PDF generator was unable to contact the Laserfiche Forms server. Please ensure your SSL settings are correct. [LFF4112-PdfNetworkError]

Details:
URL:
Error: PdfNetworkError
Date: 7/25/2022 4:53:33 PM (Eastern Standard Time)
HTTP Status Code: 404
Business Process ID: 2035
Instance ID: 35583
Business Process Name: SEC COI for GCC

Other:
aux: Loading pages (1/6)
[>                                                           ] 0%
[======>                                                     ] 10%
[========>                                                   ] 14%
[==========>                                                 ] 18%
[============>                                               ] 21%
[===============>                                            ] 26%
[=================>                                          ] 29%
[====================>                                       ] 34%
[=======================>                                    ] 39%
[===========================>                                ] 45%
[==============================>                             ] 50%
[===================================>                        ] 59%
[===============================================>            ] 79%
[====================================================>       ] 88%
[======================================================>     ] 90%
[======================================================>     ] 90%
Error: Failed to load https://laser.gc.adventist.org/Forms/form/print/35583/2107/2035/46098/Dd, with network status code 202 and http status code 403 - Error downloading https://laser.gc.adventist.org/Forms/form/print/35583/2107/2035/46098/Dd - server replied: Forbidden
[============================================================] 100%
QWin32PrintEngine::initialize: OpenPrinter failed (The RPC server is unavailable.)
QWin32PrintEngine::initialize: OpenPrinter failed (The RPC server is unavailable.)
Counting pages (2/6)                                               
[============================================================] Object 1 of 1
Resolving links (4/6)                                                       
[============================================================] Object 1 of 1
Loading headers and footers (5/6)                                           
Printing pages (6/6)
[>                                                           ] Preparing
[============================================================] Page 1 of 1
Done                                                                      
Exit with code 1 due to network error: ContentOperationNotPermittedError


Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: The PDF generator was unable to contact the Laserfiche Forms server. Please ensure your SSL settings are correct. [LFF4112-PdfNetworkError]
   at Laserfiche.Forms.CommonUtils.HtmlToPdfConverter.GeneratePrint(String& pdfFileLoc, String& tifFileLoc, SaveMode saveMode)
   at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus)

 

It says to check settings but I'm not sure where the applicable settings are.

How do I get started fixing this?

 

Thank you!

 

Monitor.jpg
Monitor.jpg (40.22 KB)
0 0

Answer

SELECTED ANSWER
replied on July 25, 2022

Many things can be forbidden but I have 2 solutions that worked for me in the past posted here. It is usually always something in the submission data, from a field to the theme itself.

https://answers.laserfiche.com/questions/183998/Forms-server-replied-Forbidden-on-Archive-to-Repository#184046

2 0

Replies

replied on July 25, 2022

Thanks Chad... That was weird but it worked!

0 0
replied on July 25, 2022

Sounds like it was the theme then?

0 0
replied on July 25, 2022

Tim, I'd also recommend planning to upgrade your Forms instance to at least the latest major version build (10.4.5) if not Forms 11. From the post Chad linked, it sounds like there were some fixes specifically targeted at this issue. There are also quite a few security fixes and performance enhancements in the Forms releases since 10.4.1.

0 0
replied on July 26, 2022

@Chad, the signature seems to have been corrupted somehow. The sql you posted allowed me to finish the process, although I believe the signature wasn't present in the form that was filed.

@Samuel, Good suggestion. Our data center team is currently reworking our VM infrastructure. When that's finished I hope to upgrade to v11, but if that gets delayed, I may be able to get to 10.4.5.

0 0
replied on July 26, 2022

Oh yes, that signature problem should be fixed now in the current builds. We used to get that all the time

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

Sign in to reply to this post.