Error Parsing XML - System.Xml.XmlException: Data at the root level is invalid
search cancel

Error Parsing XML - System.Xml.XmlException: Data at the root level is invalid

book

Article ID: 155536

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

Numerous Error Parsing XML errors are occurring in the Symantec Management Platform logs (a.logs).

 

Module: AeXSVC.exe
Source: Altiris.NS.ClientMessaging.FileDispatcher.ProcessFileCallback
Description: Unable to process the file "E:\Program Files\Altiris\Notification Server\NSCap\EvtQFast\Process\cecmqkhi.nse" Moving to "E:\Program Files\Altiris\Notification Server\NSCap\EvtQFast\Bad\AeXException\043682e5-6a49-4a4f-b26d-fcbf27af3a79.nse". Reason: Error Parsing XML - System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at Altiris.NS.LegacyInterop.ItemMessageDispatcherService.Dispatch(String message, Boolean useFilename)

Cause

These errors occur when blank / empty NSE's are processed. Since these NSE's contain no data, the expected XML structure is not present resulting in this error.

 

Resolution

Root cause and source of the blank NSE files is not yet known. In one customer environment, the symptoms disappeared on their own.

In order to troubleshoot this issue further, the timestamps on the bad NSE's would need be correlated to entries in the IIS logs. The source machine(s) could then be identified based on the matching timestamps for ../PostEvent.aspx POST entries.

 


Applies To

  • Symantec Management Platform 7.x