Skip to main content
Kofax

ScanStation fails to launch with the error: "ScanStation failed to initialize due to a configuration error"

ISSUE:

ScanStation fails to launch with the error: "ScanStation failed to initialize due to a configuration error"

An error similar to the following may appear as well:

Log Name:      Application

Source:        ShareScanAgent

Date:          6/01/2015 12:18:15 PM

Event ID:      0

Task Category: None

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      ecopyws.birdsofafeather.local

Description:

Category: Agent  Message: Request: SET_MANAGER_DEFAULTS Received:

Nuance.DatabaseSupport.NDSDatabaseException: IDS_DATABASE_GENERAL_ERROR ---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.

   at System.Xml.XmlTextReaderImpl.Throw(Exception e)

   at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)

   at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String[] args)

   at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar)

   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()

   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

   at System.Xml.XmlTextReaderImpl.Read()

   at System.Xml.XmlReader.MoveToContent()

   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)

   at System.Xml.Linq.XElement.Load(String uri, LoadOptions options)

   at System.Xml.Linq.XElement.Load(String uri)

   at ShareScanAgent.eCopyDataProcessor.SaveScanStationManagerIPProperty(String ManagerIP)

   at ShareScanAgent.eCopyDataProcessor.SetManagerDefaults()

   at ShareScanAgent.eCopyDataProcessor.StartProcessing()

   --- End of inner exception stack trace ---

   at ShareScanAgent.eCopyDataProcessor.StartProcessing()

System.Xml.XmlException:'.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.

SYMPTOMS:

The following file will show as a non zero byte file but will show no data when opened:

C:\ProgramData\Nuance\ShareScan\ScanStation Client\Config.XML

RESOLUTION:

•     Select OK on the error.

•     Make sure that the ScanStation client application is closed.

•     Browse to the file location, <c:\programdata\nuance\sharescan\scanstation>

•     Delete the Config.xml file.

•     Launch the ScanStation client. You will receive the notification: "Before starting ScanStation for the first time, you have to configure the scanner in the Administration Console. ScanStation will now quit." This step will create a default Config.xml file.

•     Launch The ShareScan Admin Console and select the ScanStation in the Device list. Select the scanner settings and launch the ScanStation Wizard by selecting the driver and proceeding through the driver installation.