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

Question

Question

Laserfiche Repository not verified in save to repository service task

asked on September 27, 2015

In my process modeler,after several steps the form should save in repository,so i am using 'save to repository' service task in final step of the process,here i have selected the laserfiche repository profile which is already configured,everything looks fine,but the form is not getting saved in repository and in results it shown as suspended status,and i checked the repository profile again by editing and clicked verify and update button,but it is loading continuously and not getting any response.

I tried to delete the repository profile by adding new profile,but there also its failed to delete the existing profile shown as 'action cannot be undone'.

I am using admin credentials to add the profile,having full access to the repository,I don't know where the problem occur?

Please help me to sort out the issue.here the error shown in event viewer

 

 

9/27/2015 11:48:41 AM Message: Loading pages (1/6) [> ] 0% [======> ] 10% Warning: Failed loading page http://althaf/forms/form/print/5253/1024/1003/6534?authkey=7f023105-8b22-43b7-947e-d139845e34c5 (ignored) 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.CommonUtils.LFSaveToLfService.GetPrintFromHtmlForm() at Laserfiche.Forms.CommonUtils.LFSaveToLfService.GetPDFAndSaveToLF() 

 

 

 

0 0

Replies

replied on September 28, 2015

Hi Noohul,

Have you tried setting up a connection to the repository in Forms Configuration? I've read somewhere that it uses that to verify you have a user licence so possibly try that.

Cheers,

Dan

0 0
replied on September 28, 2015

Hi there,

It seems your machine cannot talk to Laserfiche Server. We don't know why with the limited information. Can you open a support case so that we can do further investigation?

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
replied on January 8, 2016

Hi everyone,

I had a similar problem (ContentNotFoundError), and found the cause. Unfortunately it took some time to track down as I didn't have the same solutions as those above. In my case, the application submitted fine on our primary Forms install, but did not on our secondary Forms install. The secondary Forms install was on our customer-facing DMZ server.

It appears calling an external JavaScript file is the problem:

$.getScript('../../../../Forms/js/jquery.mask.min.js', function ()
    {
      $(".phone input").mask('(000) 000-0000');
    });

Once I remove this code, the form saves into the repository. This works fine on both our local server and our DMZ. The JS file is located on both servers in the corresponding directory, and runs without error on both servers. The problem is that the form will not be saved from the DMZ because of the call to this script for some reason.

I figured that it may be something wrong with the script; however, there may be a problem with the software itself here because this script should have no effect on saving the form. All it does is manipulate a field’s text to mask phone numbers into a proper format.

To test this, I pasted the minified code of the JS file into the JS editor, replacing the $.getScript line (seen above):

The JS works, and the form saves into the repository.

Finally, I removed the minified code above and added a Custom HTML element on the page, and called the JS from there using a script tag:

<script src="../../../../Forms/js/jquery.mask.min.js"></script>

The JS worked, but again, the application did NOT submit to the repository.

This tells me that calling external JS files on a secondary Forms install prevents applications from being stored in the repository. This is a really unusual problem, but there is a solution: copy all external JS code into the JS editor instead of calling an external file. This is a problem with Forms as far as I can tell however, and should be resolved.

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

Sign in to reply to this post.