Start a conversation

The selected file does not have the correct format when Importing Configuration

Overview

When importing configuration from file or folder, it produces the following error:

The selected file does not have the correct format

Environment

  • GFI EndPointSecurity
  • All Supported Environments

Root Cause

An empty or corrupt toolcfg_updates.xml in the Data folder of the EndPointSecurity commonly causes this issue.

Example of an empty toolcfg_updates.xml section in the configuration backup file:

<XMLFileInfo>
<RelativeName>toolcfg_updates.xml</RelativeName>
<XmlData />
</XMLFileInfo>

Example of a corrupt toolcfg_updates.xml section in the configuration backup file:

<XMLFileInfo>
<RelativeName>toolcfg_updates.xml</RelativeName>
<XmlData>
����T&#x1;&#x0;&#x0;&#x18;&#x1;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x8;
&#x0;&#x0;&#x0;`&#x1;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x8;&#x0;&#x0;&#x0;
h&#x5;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x8;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;
&#x0;&#x0;�&#x0;&#x0;&#x0;�;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x18;&#x0;
&#x0;&#x0;&#x8;&#xB;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;p&#x0;&#x0;&#x0;�&#xE;
&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x8;&#x0;&#x0;&#x0;�&#xF;&#x0;&#x0;&#x0;
&#x0;&#x0;&#x0;&#x10;&#x0;&#x0;&#x0;�&#xF;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;
&#x1;&#x0;&#x0;&#x0;�&#xF;&#x0;&#x0;&#x0;&#x0;&#x0;&#x0;&#x10;&#x0;&#x0;
</XmlData>
</XMLFileInfo>

If importing from a Data folder, check for any corrupt or empty XML files.

Resolution

To resolve the error detailed previously, follow the steps listed below:

  1. Open the configuration backup file with a Text Editor.
  2. Check if any of the EndPointSecurity configuration files listed contain corrupt or missing data.
  3. Remove the corrupt section from the configuration backup file and save changes.
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments