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

Question

Question

Forms Exported Business Process Version Compatibility Question 2

asked on December 22, 2022

There was already a questions with a name that made sense for my question, slightly different content though, hence the title. I was under the impression that LF Forms was backward compatible such that if I download a business process from say Laserfiche Forms Professional Version 10.4.5.282 and then tried to upload that process to  Laserfiche Forms Professional Version 10.4.5.324 it would work.

When I go to do this I get this error:

Error reading XML file - Name cannot begin with the ';' character, hexadecimal value 0x3B. Line 1, position 171.. [LFF317-UnableToReadXml]

The only difference I can tell is the version, but hopefully I'm missing something obvious here? Any help greatly appreciated. I had thought too that it might've been how I downloaded them (someone from LF in the forums here posted a LF Form that downloads a zip of your business processes and I used that) but I've now also gone and individually downloaded each and attempted to upload it to a machine running the slightly higher version of LF Forms and it's the same regardless. I had spoke with LF Support before and they mentioned that usually the XML errors here are due to version incompatibility, in this case I figured I'd come here first to see if anyone had any "you might be missing this" thoughts.
Thanks!

0 0

Answer

SELECTED ANSWER
replied on January 3, 2023

Other users ran into same issue before and we have identified it is related to to New Relic .NET Agent, if your machine installed this application, when you download Forms business process, it will automatically insert the script section into the XML. Please report the issue to New Relic. 

1 0

Replies

replied on January 10, 2023

Hi Scott,

 

The issue is caused by New Relic .NET Agent installed on Forms server machine. It will monitor IIS behaviors for a server. As a workaround, you can add FormsAppPool to the whitelist of New Relic .NET Agent, below are the steps:

  1. Go to C:\ProgramData\New Relic\.NET Agent
  2. open newrelic.config
  3. under configuration node, add the following code

    <applicationPools>

      <applicationPool name="FormsAppPool" instrument="false"/>

      </applicationPools>

  4. Restart IIS to make changes take effect
  5. For more configurations like totally disable .NET Agent, you can refer to https://docs.newrelic.com/docs/apm/agents/net-agent/configuration/net-agent-configuration/
2 0
replied on December 29, 2022

Hi Scott,

Forms is expected to be backward compatible with exported business process so it should work.

In your case, the error said, "Name cannot begin with the ';' character". So can you check if the exported process has any elements whose name starts with ';'?

If you could not identify it, can you open a support case and provide the exported process? Thanks.

0 0
replied on January 2, 2023

Hey Rui,

Thanks for the reply; I did manually look through the erroring XML files but the ';' symbol at the position it flags does not appear to be a name nor does it appear to be an invalid use of ';'. I was unable to get through to a support channel when I had asked this so am going to do that today though. Thanks

0 0
replied on January 3, 2023

It's funny how things work out - I just got off with LF Support about this and it seems like there may be a bug with exporting from .282 - exporting from .282 and then immediately importing to the same .282 Forms server also threw an error. So I made a barebones form and went through and I believe I found the issue. The screenshot below is of a very simple business process (we'll ignore why it's almost 30k lines long despite only being a few fields and a single lookup) and right at the end there's this "terminalNotification" section, I have no clue what this is or where it would be set up and configured, I'm not finding any info immediately, but clearing this section enables the forms to be uploaded.

0 0
SELECTED ANSWER
replied on January 3, 2023

Other users ran into same issue before and we have identified it is related to to New Relic .NET Agent, if your machine installed this application, when you download Forms business process, it will automatically insert the script section into the XML. Please report the issue to New Relic. 

1 0
replied on January 4, 2023

That's so interesting! Would have never guessed that, thanks for looking into this! Will file a report with them

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

Sign in to reply to this post.