Help and Support

Article ID: 933556 - Last Review: April 24, 2007 - Revision: 1.2

Error message when you use the MOM 2005 Operator console to run an XML script that contains a CDATA block: "Parameter is incorrect"

Expand all | Collapse all

SYMPTOMS

When you use the Microsoft Operations Manager (MOM) 2005 Operator console to run an XML script that contains a CDATA block, you receive the following error message:
Operating Console Error—Parameter is incorrect.
When the script runs on an agent-managed computer, you receive the following error message:
Parameter is incorrect.
For example, you receive this error message when the script runs as part of a rule.

CAUSE

This issue occurs when the script contains a CDATA sequence in a CDATA section. When the ]]> sequence appears in a CDATA section, the XML parser interprets the sequence as the end of the section. Therefore, the sequence is not processed.

WORKAROUND

To work around this issue, run the script by using the CScript.exe command-based script host. For more information about how to use CScript.exe, visit the following Microsoft Web site:
Using the command-based script host (CScript.exe)
http://msdn2.microsoft.com/en-us/library/ms256076.aspx (http://msdn2.microsoft.com/en-us/library/ms256076.aspx)

MORE INFORMATION

For more information about how to use CDATA sections in scripts, visit the following Microsoft Web site:
CDATA Sections [XML Standards]
http://msdn2.microsoft.com/en-us/library/ms256076.aspx (http://msdn2.microsoft.com/en-us/library/ms256076.aspx)

APPLIES TO
  • Microsoft Operations Manager (MOM) 2005
Keywords: 
kbtshoot kbprb kbexpertiseinter KB933556

Article Translations

 

Related Support Centers