Start a conversation

Error: 'There is an error in the XML document. The string 'False' is not a valid Boolean value'

Overview

This article describes the resolution of the error which occurs when GFI Archiver cannot correctly parse its main configuration file ..\Archiver\Core\Data\MArcSettings.xml.
 
The following events are found in the Windows Application event log:

Source: MARCore
Event ID: 6101
Type: Warning    
Plugin WCFPlugin reports exception.
ERROR.WCF.Unknown.

Source: MARCore    
Event ID: 5401
Type: Warning
Plugin Licensing Notifications reports exception.
There was no endpoint listening at net.pipe://localhost/Core/CSService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

The debug logs at ..\Archiver\Core\Debuglogs\WCFPlugin.log read:

2013-05-23,13:34:25,277,1,"#000016A8","#00000004","info ","WCFPlugin"," Loading Plug-in Contract: 'MArc.ConfigurationService.Base.ICSSettingsHolder' from 'bin\MArc.ConfigurationService.Base.dll'. " 
2013-05-23,13:34:25,286,1,"#000016A8","#00000004","info ","WCFPlugin"," Service instance created successfully" 
2013-05-23,13:34:25,846,1,"#000016A8","#00000004","error ","WCFPlugin","Error: Failed to create service instance: MArc.ConfigurationService.CSService, bin\MArc.ConfigurationService.dll. Error: MArc.ConfigurationService.Base.ConfigurationServiceException: LoadFailed ---> System.InvalidOperationException: There is an error in the XML document. ---> System.FormatException: The string 'False' is not a valid Boolean value. 
..\Archiver\Core\Debuglogs\CSStorageProvider.log 
2013-05-23,13:34:25,842,1,"#000016A8","#00000004","error ","CSStorageProvider","Error: Format - There is an error in the XML document."

 

Environment

  • GFI Archiver
  • All supported environments

 

Root Cause

This issue can occur if the file is manually edited incorrectly. GFI Archiver expects true or false strings in the config file to be lowercase.

 

Resolution

Note: This procedure requires to edit files manually. If edited incorrectly it can leave the server in a non-operational state. Please keep backups of any file which is edited throughout this article before saving any changes to them.

  1. Stop all GFI Archiver services.
  2. Open the folder ..\Archiver\Core\Data
  3. Create a backup of the file: MArcSettings.xml
  4. Open the file in Notepad.
  5. Search for any occurrences of False or True (depending on the error found in the debug logs) and change these to lowercase false or true.
  6. Save the file.
  7. Start all GFI Archiver services.
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments