FIX: Command Line Action Strips the Backslash (\) Character out of Properties (304601)



The information in this article applies to:

  • Microsoft Application Center 2000

This article was previously published under Q304601

SYMPTOMS

When an action in Health Monitor outputs the text of a property that contains the backslash character (\), such as the file path property of an Application Center replication event, the "\" is stripped from the property. This can be seen through the use of the text log, event log, script, and command line actions.

CAUSE

This is caused by a parsing problem in the Windows Management Instrumentation (WMI) action consumers.

RESOLUTION

To resolve this problem, upgrade to Application Center 2000 Service Pack (SP) 1. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

309384 INFO: How to Obtain the Latest Application Center 2000 Service Pack

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem is fixed in the updated version of Health Monitor that is installed by Application Center 2000 SP1.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a text log action and add

    %EmbeddedStatusEvent.EmbeddedCollectedInstance.Path%

    to the text to log box.
  2. Create a synchronized WMI event query data collector for an event that you can control, for example, file replicated (Event 5077):

    Namespace: ROOT\MicrosoftApplicationCenter
    Class: MicrosoftAC_Replication_Session_DriverEvents_UpdateListApply_FileSet_Event

  3. Add the action that you created in step 1 to the data collector that you created in step 2.
  4. Change or create a new file in a replicated directory on the cluster controller and synchronize the cluster.
  5. Check the log file that your action created on a member server and observe that the file path is missing all "\" characters.

Modification Type:MajorLast Reviewed:10/9/2001
Keywords:kbbug kbDSupport KB304601