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

Question

Question

Update to 10.4.5 from 10.4.0, runtime error on submission

asked on October 2, 2020

Hi,

We updated our server from 10.4.0 to 10.4.5 today, everything seem fine, but then on 2 of our processes we are receiving Runtime Error on when submitting a form. We did not have this issue on 10.4.0, can anyone please tell me what could cause this? From what I see it is pointing to illegal character, but why did these errors not happen on 10.4.0?

 

What can I do to resolve this issue, we have multiple forms servers.

 

 

Regards,

Gert

0 0

Answer

SELECTED ANSWER
replied on October 16, 2020

Is the multiline field read-only and the value is set via default value or lookup? With such setup, you will get runtime error after submit in 10.4.5 without modify the web.config. And in 10.4.0, you should get error as following since there will be error from IIS.

0 0

Replies

replied on October 5, 2020

My first suggestion would be to go on the actual Forms server machine and reproducing the error there. The error you have copied and pasted is a sanitized error being viewed from a remote screen. If you go to the main Forms server and get this error, it will actually tell you more about what the problem is. 

If you go to the Forms server, reproduce the error and still don't understand the error log, please either post that error here or open up a support case with that actual error so we can investigate more closely. 

0 0
replied on October 5, 2020

Hi Jared,

 

I saw this post https://answers.laserfiche.com/questions/116360/Does-Laserfiche-detect-and-block-potential-SQL-Injection#124642 and I changed the web config file as mentioned in this post which seem to sort out the issue. We have multiple value fields with HTML in. It is just weird that it worked on our 10.4 version and then on 10.4.5 it gave that error. The error log in event viewer was telling me the exact issue, when doing it from the server then I got the Same runtime error, but mentioning illegal characters. I assume I will have to do this for all our Forms servers when updating going forward.

0 0
replied on October 15, 2020

Can you provide more details about what changes you made to the web.config? What were the settings before change and what are the settings now?

0 0
replied on October 15, 2020

The web.config settings has been standard since we installed Laserfiche. We upgraded from 10.4.0 to 10.4.5 and then the issue started, still without changing the web.config files. I looked at the Answer post above where yourself mentioned to edit the web.config file with the below code.

<location path="Form/Submit">
<system.web>
<httpRuntime requestValidationMode="2.0"/>
</system.web>
</location>

 

Only after this we were able to submit forms that has html in multiline fields, but as i mentioned before, we did not have this issue with 10.4.0. I am not sure if the update then changes the web.config?

0 0
SELECTED ANSWER
replied on October 16, 2020

Is the multiline field read-only and the value is set via default value or lookup? With such setup, you will get runtime error after submit in 10.4.5 without modify the web.config. And in 10.4.0, you should get error as following since there will be error from IIS.

0 0
replied on October 16, 2020

Yes, the multiline field is on some fields read-only since it is depending on tick boxes to add variables to them etc for merge fields (Some might be paragraphs containing variables). So leaving the web config with the adjustment as specified above should be fine then.

0 0
replied on April 15, 2022

This bug has been fixed in Forms 11, you will get same error as 10.4.0 instead of the runtime error.

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

Sign in to reply to this post.