Microsoft KB Archive/281831

= PRB: Health Monitor HTTP Provider Cannot Send Strings That Have Embedded Quotes =

Article ID: 281831

Article Last Modified on 4/26/2001

-

APPLIES TO


 * Microsoft Application Center 2000 Standard Edition

-



This article was previously published under Q281831



SYMPTOMS
If you use double quotation marks (&quot;) or single quotation marks (') within the Form POST data for an HTTP Data Collector that uses the Post HTTP method, any thresholds that you set receive the error 2147749946 with the following Application Center 2000 error description:

WMI object not found. Data Collector is misconfigured. 0x8004103a: Invalid object path.



CAUSE
This error occurs because the POST data is passed as part of a Windows Management Instrumentation (WMI) path, and quotation marks are not valid in WMI paths. Because you cannot avoid quotation marks in the current version of Health Monitor, and because you cannot properly reconstitute quotation marks before the POST request is transmitted, you receive the above-mentioned error message.



RESOLUTION
To work around this problem, create an Active Server Pages (ASP) page that generates the proper POST request, verifies the response, and then returns status to your threshold.



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



Steps to Reproduce Behavior

 * 1) Open the Health Monitor MMC snap-in, and click your computer.
 * 2) Right-click an enabled Data group, point to New, point to Data Collector, and then click HTTP monitor.
 * 3) Type a valid URL. On the Details tab, click Advanced.
 * 4) In the HTTP method drop-down list box, click POST. In the Form POST Data box, type a single quotation mark (') or a double quotation mark (&quot;).
 * 5) Click OK twice.
 * 6) Right-click the new Data Collector, point to New, and click Threshold.
 * 7) In the drop-down list box under If the current value for, click Status Code (HTTP) (Unsigned Integer). In the Is not equal to box, type 200, and then click OK.
 * 8) Right-click the new Data Collector, and then click All tasks. Clear the Disabled check box.
 * 9) Click the Statistics tab in the upper right pane to see the error code and description.

Additional query words: 0x8004103a

Keywords: kbprb KB281831

-

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

© Microsoft Corporation. All rights reserved.