Unable to find node named "statusEvt". Found node "" instead

Article:TECH47665  |  Created: 2009-12-14  |  Updated: 2013-01-29  |  Article URL http://www.symantec.com/docs/TECH47665
Article Type
Technical Solution


Issue



In the Altiris logs, we're seeing the following errors:

<event date="Dec 10 19:30:05 +00:00" severity="1" hostName="PRODEPLOY" source="Altiris.TaskManagement.ClientTask.*" module="w3wp.exe" process="w3wp" pid="2408" thread="27" tickCount="73766281"><![CDATA[BaseXmlHttpCallback Exception: System.Exception: An exception occurred while executing the request ---> System.Exception: System.Xml.XmlException: Unable to find node named "statusEvt".  Found node "" instead
   at Altiris.DotNetLib.Xml.XmlTextReaderHelper.MoveToExpectedNode(XmlReader r, String nodeName)
   at Altiris.TaskManagement.Common.ClientTask.Events.AltirisServerClientTaskRunEvent.OnFromClientXml(XmlTextReader r, String nodeName, AltirisResourceGuid resourceGuid)
   at Altiris.TaskManagement.Common.ClientTask.Events.AltirisServerClientTaskRunEvent.FromClientXml(XmlTextReader r, String nodeName, AltirisResourceGuid resourceGuid)
   at Altiris.ClientTask.Server.ClientTaskServer.ProcessPostClientStatusXml(AltirisResourceGuid resourceGuid, String statusType, XmlTextReader r)
   at Altiris.ClientTask.Server.ClientTaskServer.ProcessPostClientStatusXml(String statusXml)
   at Altiris.ClientTask.Server.ClientTaskServer.ProcessPostClientStatus(Hashtable input, Hashtable& output)
   at Altiris.DotNetLib.Sockets.SecureRemoting.SecureRemotingServer.ProcessRequestObject(Object work)
   --- End of inner exception stack trace ---
   at Altiris.DotNetLib.Sockets.SecureRemoting.SecureRemotingClient.SendRequestI(String service, Hashtable input)
   at Altiris.DotNetLib.Sockets.SecureRemoting.SecureRemotingClient.SendRequest(String service, Hashtable input)
   at Altiris.ClientTask.Server.HttpHandlers.WebClientApiManager.ProcessPostClientStatus(XmlTextWriter wr, NameValueCollection queryValues, Stream requestStream, Int32 contentLength)
   at Altiris.ClientTask.Server.HttpHandlers.PostStatus.WriteResponse(XmlTextWriter wr)
   at Altiris.TaskManagement.Common.XmlHttp.BaseXmlXmlHttpCallback.WriteResponseRaw(XmlTextWriter xwr)
   at Altiris.TaskManagement.Common.XmlHttp.BaseXmlHttpCallback.ProcessRequest(HttpContext context)]]></event>


Environment



NS7, TS7.


Cause



This message is caused by Client Task Agents entering a loop attempting to post invalid status messages to the Task Server.

Thus far, we have no documented "problems" in the actual functionality of the console related to this error. The primary concern is that this limits the readability of the log files, as well as bloating them to an unmanageable size.


Solution



This issue has been addressed in 7.0 SP5 MP1 and 7.1 SP2 rollup v3. Installing these (or later versions) will resolve the issue.

Additionally, the client task agent cache needs to be cleared on the client machines in the environment to stop the flow of status messages. The script attached below can be used to accomplish this, being sent to the client machines via either a 'Run Script' task, or with a Windows startup script.

*Please use the appropriate script.


Attachments

Use this for Task Server 7.0
statusEvt_7.0.bat (692 Bytes)
Use this for Task Server 7.1 and above
statusEvt_7.1.bat (755 Bytes)





Legacy ID



50617


Article URL http://www.symantec.com/docs/TECH47665


Terms of use for this information are found in Legal Notices