Error, "System.Xml.XmlException: An error occurred while parsing EntityName"
search cancel

Error, "System.Xml.XmlException: An error occurred while parsing EntityName"

book

Article ID: 176684

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

Priority: 1
Date: 19/11/2007 10:13:18
Tick Count: 645392046
Host Name:  NS
Process: aexsvc.exe (1264)
Thread ID: 2596
Module: AltirisNativeHelper.dll
Source: Altiris.NS.LegacyInterop.ItemMessageDispatcherService.Dispatch
Description: Error Parsing XML - System.Xml.XmlException: An error occurred while parsing EntityName. Line 4, position 135.
   at System.Xml.XmlScanner.ScanNamedEntity()
   at System.Xml.XmlTextReader.ExpandLiteral(XmlAttributeTokenInfo currToken)
   at System.Xml.XmlTextReader.SetLiteralValues(XmlAttributeTokenInfo fld)
   at System.Xml.XmlTextReader.SetAttributeValues()
   at System.Xml.XmlTextReader.ParseElement()
   at System.Xml.XmlTextReader.Read()
   at Altiris.NS.LegacyInterop.ItemMessageDispatcherService.Dispatch(String message, Boolean useFilename) Stack trace:    at System.Xml.XmlScanner.ScanNamedEntity()
   at System.Xml.XmlTextReader.ExpandLiteral(XmlAttributeTokenInfo currToken)
   at System.Xml.XmlTextReader.SetLiteralValues(XmlAttributeTokenInfo fld)
   at System.Xml.XmlTextReader.SetAttributeValues()
   at System.Xml.XmlTextReader.ParseElement()
   at System.Xml.XmlTextReader.Read()
   at Altiris.NS.LegacyInterop.ItemMessageDispatcherService.Dispatch(String message, Boolean useFilename)


Priority: 1
Date: 19/11/2007 10:13:18
Tick Count: 645392046
Host Name: NS
Process: aexsvc.exe (1264)
Thread ID: 2596
Module: AltirisNativeHelper.dll
Source: Altiris.NS.ClientMessaging.FileDispatcher.ProcessFileCallback
Description: Unable to process the file "D:\Altiris\Notification Server\NSCap\EvtQFast\Process\nse8219.tmp" Moving to "D:\Altiris\Notification Server\NSCap\EvtQFast\Bad\AeXException\nse821A.tmp". Reason: Error Parsing XML - System.Xml.XmlException: An error occurred while parsing EntityName. Line 4, position 135.
   at System.Xml.XmlScanner.ScanNamedEntity()
   at System.Xml.XmlTextReader.ExpandLiteral(XmlAttributeTokenInfo currToken)
   at System.Xml.XmlTextReader.SetLiteralValues(XmlAttributeTokenInfo fld)
   at System.Xml.XmlTextReader.SetAttributeValues()
   at System.Xml.XmlTextReader.ParseElement()
   at System.Xml.XmlTextReader.Read()
   at Altiris.NS.LegacyInterop.ItemMessageDispatcherService.Dispatch(String message, Boolean useFilename)

Cause

After looking at the bad NSE file, it was found that the computer was placed into a workgroup which had spaces in its name. Workgroup names can have a maximum length of 15 characters including numbers, and the characters exclamation point (!), at sign (@), pound sign (#), dollar sign ($), percent sign (%), caret (^), ampersand (&), parentheses ( ), underscore (_), hyphen (-), semicolon (;), colon (:), apostrophe ('), quote ("), comma (,) and period (.). It cannot contain any spaces, and must begin with a letter or number. See http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/w2000Msgs/4225.mspx?mfr=true.

Resolution

The workgroup name needs to be changed.