Microsoft KB Archive/933556

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

Article ID: 933556

Article Last Modified on 4/24/2007

-

APPLIES TO


 * Microsoft Operations Manager (MOM) 2005

-



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



MORE INFORMATION
For more information about how to use CDATA sections in scripts, visit the following Microsoft Web site:

CDATA Sections [XML Standards]

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/cscript_overview.mspx?mfr=true

Keywords: kbtshoot kbprb kbexpertiseinter KB933556

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.