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

Question

Question

Laserfiche Forms was unable to generate a PDF or TIFF.

asked on March 31, 2016

I've a form which, upon submission, won't allow the user to save or email the completed form. I've another form in which it works perfectly. The Laserfiche server Event Viewer shows the following for LFForms. (personal info replaced with X).

 

+System

-Provider

[ Name]Laserfiche Forms

-EventID0

[ Qualifiers]0

Level2

Task0

Keywords0x80000000000000

-TimeCreated

[ SystemTime]2016-03-31T17:25:01.000000000Z

EventRecordID3282

ChannelLFForms

ComputerXXXXXXXXXXXX

Security

-EventData

The PDF generator was unable to contact the Laserfiche Forms server. Please ensure your SSL settings are correct. [LFF4112-PdfNetworkError] Details: URL: /Forms/handlers/DownloadSubmission.ashx?authKey=06c53bad-49ee-4c17-8669-84fc3d9b8ef8&submitAuthKey=88e3ba2e-6819-4bfd-a239-ce5d02bf6d7a Error: PdfNetworkError Date: 3/31/2016 10:25:01 AM (Pacific Standard Time) HTTP Status Code: 404 User: XXXXXXXXX IP: XX.XX.XX.XXX Browser: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/XX.XX.XXXX.XX Safari/537.36 Other: OutputMessage: Loading pages (1/6) [> ] 0% [======> ] 10% [==========> ] 17% [===========> ] 19% [===============> ] 25% [================> ] 27% [===================> ] 33% [=====================> ] 35% [======================> ] 37% [=======================> ] 39% [=========================> ] 42% [===========================> ] 45% [=====================================> ] 62% [===========================================> ] 72% [====================================================> ] 88% [======================================================> ] 90% [======================================================> ] 90% [======================================================> ] 90% [============================================================] 100% 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: ContentNotFoundError 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]

 

Any ideas on where to look? Both forms are on the same server.

 

Thanks,

Michael

0 0

Answer

APPROVED ANSWER SELECTED ANSWER
replied on March 31, 2016

Hi Michael,

Are there any themes or custom CSS/JavaScript in use with the problematic forms that are not in use with the form that works? If so, if you comment out the code, does the form behave as expected?

This error can occur if there is a reference to an external resource which is not resolving correctly.

Hope this helps!

4 0

Replies

replied on May 21, 2017

I had the same error and found the Windows Firewall was enabled.

1 0
replied on April 5, 2016

Hi James,

 

   That was indeed the issue. It's now resolved. Thank you very much for your help!

 

Thanks,

Michael

0 0
replied on April 5, 2016

You're welcome, Michael. Glad to hear it's resolved!

1 0
replied on April 25, 2016 Show version history

We recently set up our an external forms server on a DMZ. We've run into several problems, one of which is the same issue as for this post, in that a submitted form won't Email, Print or Download. An XML View of the error in Event Viewer/LFForms shows the following:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

- <System>

  <Provider Name="Laserfiche Forms" />

  <EventID Qualifiers="0">0</EventID>

  <Level>2</Level>

  <Task>0</Task>

  <Keywords>0x80000000000000</Keywords>

  <TimeCreated SystemTime="2016-04-25T19:41:39.000000000Z" />

  <EventRecordID>117687</EventRecordID>

  <Channel>LFForms</Channel>

  <Computer>LF-WebServer</Computer>

  <Security />

  </System>

- <EventData>

  <Data>Laserfiche Forms was unable to generate a PDF or TIFF. Contact your Laserfiche administrator for more information. Function: Error</Data>

  </EventData>

  </Event>

 

I removed the custom CSS to see if this was the cause, but that didn't help. There's no associated JavaScript with this form.

 

Edit: I was able to resolve this as well by using the Hosting Laserfiche Forms 10 In A Perimeter Network (DMZ) whitepaper.

0 0
replied on August 18, 2016

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

 

Our issue was resolved by removing the hostname from the SSL binding in IIS.

 

Michael, what was the root cause of your item?

0 0
replied on August 24, 2016

Carl,

 

   If memory serves, it had to do with disabling settings on the DMZ Forms server so that they could be handled on our internal Forms server. Specifically this section from the White Paper referenced above:

 

Open the Windows Services Microsoft Management Console (MMC) snap-in
a. View the properties of the Laserfiche Forms Routing Service to Stop the service and change the Startup type to Disabled.
b. View the properties of the Laserfiche Notification Hub Service to Stop the service and change the startup type to Disabled.
c. View the properties of the Laserfiche Notification Master Service to Stop the service and change the startup type to Disabled.

 

Thanks,

Michael

2 1
replied on October 4, 2017

@████████can you explain what you did with the IIS? I am having this same error message and not having any luck diagnosing it.

Thanks

0 0
replied on October 4, 2017

@████████

 

 


We had a value filled in for host name. It was removed to broaden access to the SSL binding.

 

Hope this helps, it seems this issue is caused by a variety of things but center around network connectivity.

 

Cheers,

Carl

0 0
replied on August 26, 2021

I had this error and found that forms was trying to resolve itself via the configuration for the Primary Forms URL, which is the external domain name. This was being blocked by a loopback protocol on the router.

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

Sign in to reply to this post.