A "Error reading XML file - Name cannot begin with the ';' character” Error Occurs When Attempting to Upload Process

February 8, 2023 | KB: 1014420
Forms

Summary

When attempting to upload process with previously downloaded process XML file, you may receive following error:

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

Cause

New Relic .NET Agent injects the process XML with "<script>" block when download the process if there is New Relic .NET Agent installed on the Forms Server.

Workaround

  • If you still want to use the existing downloaded process XML file to upload process, you can edit the XML file and remove the "<script>" blocks inside "<suspendNotification>" and "<terminalNotification>" blocks.
  • You can also disable instrumentation for FormsAppPool from New Relic .NET Agent configuration so it will not inject the process XML files any more when download process using following steps:
    • 1. Go to C:\ProgramData\New Relic\.NET Agent on the Forms Server
    • 2. Open newrelic.config
    • 3. Add the following code under configuration node:
      <applicationPools>
        <applicationPool name="FormsAppPool" instrument="false"/>
      </applicationPools>"
      
    • 4. Restart IIS

Related Links

New Relic .NET agent configuration documentation