Microsoft KB Archive/304601

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

Article ID: 304601

Article Last Modified on 10/9/2001

-

APPLIES TO


 * Microsoft Application Center 2000 Standard Edition

-



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 &quot;\&quot; 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.



Steps to Reproduce Behavior
 Create a text log action and add

%EmbeddedStatusEvent.EmbeddedCollectedInstance.Path%

to the text to log box. 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

 Add the action that you created in step 1 to the data collector that you created in step 2. Change or create a new file in a replicated directory on the cluster controller and synchronize the cluster. Check the log file that your action created on a member server and observe that the file path is missing all &quot;\&quot; characters.</li></ol>

Additional query words: HealthMonitor, WMI command line action consumer, text log script event consumer.

Keywords: kbbug kbfix KB304601

-

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

© Microsoft Corporation. All rights reserved.