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

Question

Question

Forms submission not saving to repository.

asked on December 9, 2014

Initially it was just sending a blank pdf file, then I added the hotfix 1013577 and now in Event Viewer I get this error in the routing service:

12/9/2014 5:31:42 PM Message: Loading pages (1/6) [> ] 0% [======> ] 10% Warning: Failed loading page *website*/forms/form/print/3011/24/25/2923?authkey=d2c4eec6-07dc-49be-bbc3-d707c3d8e300&IAS=true (ignored) 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: UnknownNetworkError Stack trace: at Laserfiche.Forms.CommonUtils.HtmlToPdfConverter.GeneratePrint(String& pdfFileLoc, String& tifFileLoc) at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext) at Laserfiche.Forms.Routing.ServiceTask.Execute(Int32 instanceId, IRoutingContext routingContext)

 

Any idea what might be the mishap here?

0 0

Answer

SELECTED ANSWER
replied on February 16, 2015

Hello Guy,

 

There was a Support case with this exact error message. Nothing would be saved into the repository. We found the issue was with the FormsConfig > Forms Server > "Primary Forms Server URL". The user had filled that value as //"machinename"/. However the "Forms/" at the end was accidentally ommitted. So it should be like //"machinename"/Forms/. So after that last part was added, the issue was completely resolved. 

 

Regards,

Andrew 

0 0

Replies

replied on December 9, 2014 Show version history

Please check whether you have enabled "Use SSL connection" for the Forms Server on configuration and it use http or https in the URL after "failed loading page" message. If you have "Use SSL connection" checked, you can try click save on the Forms Server tab again and check whether it works.

 

 

0 0
replied on December 10, 2014

That removed the "failed loading page" error, but it still has this:

 

12/10/2014 2:15:25 PM Message: Loading pages (1/6) [> ] 0% [======> ] 10% [==============================> ] 50% [============================================================] 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: ContentNotFoundError Stack trace: at Laserfiche.Forms.CommonUtils.HtmlToPdfConverter.GeneratePrint(String& pdfFileLoc, String& tifFileLoc) at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext) at Laserfiche.Forms.Routing.ServiceTask.Execute(Int32 instanceId, IRoutingContext routingContext)

0 0
replied on December 10, 2014 Show version history

Can you check whether you installed the "wkhtmltox-0.12.1.2_msvc2013-win32.exe" when you apply the https://support.laserfiche.com/KB/1013577 ?  If you did install, check whether there is registry key "HKEY_LOCAL_MACHINE\SOFTWARE\wkhtmltopdf" exists and the corresponding files exists under the path.  If you did not install it before, please follow the instruction to install it; if you installed but no registry or file exist, please try reinstall it again.

0 0
replied on December 11, 2014

I did install it, and it is listed in the registry.

0 0
replied on December 11, 2014

Can you open a support case for this so that we can do further trouble shooting?

0 0
replied on February 27, 2015

I had a similar issue to this but my solution was different.

We had configured SSL and in IIS we bound HTTPS to a different port than the default 443.

Once I added another binding for HTTPS on port 443 everything worked as expected.

0 0
replied on October 22, 2015

Not sure if this is still a problem, but we had a similar issue. Turned out to be a bindings issue in IIS. Whatever url is used as the "Primary Forms Server URL" also has to be bound in IIS in the sites "hostname". We left the "IP Address" assignment to "All Unassigned" and then the "Host Name" to the primary forms server url with out protocol or paths. For example, if your forms server is "https://formsserver.domain.local/Forms" then the "Host Name" would be "formsserver.domain.local". Hope this helps.

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

Sign in to reply to this post.