Microsoft Knowledge Base Email Alertz

(281831) - If you use double quotation marks () 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...

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: 281831 - Last Review: April 26, 2001 - Revision: 1.1

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

This article was previously published under Q281831

On This Page

SYMPTOMS

If you use double quotation marks (") 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.

MORE INFORMATION

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 (").
  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.

APPLIES TO
  • Microsoft Application Center 2000 Standard Edition
Keywords: 
kbprb KB281831
       

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