Microsoft Knowledge Base Email Alertz

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

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

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"

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
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate