Microsoft KB Archive/156076

= BUG: WWWQuote Sample Generates Error Message =

Article ID: 156076

Article Last Modified on 11/21/2006

-

APPLIES TO

 Microsoft Foundation Class Library 4.2, when used with:  Microsoft Visual C++ 4.2 Professional Edition

 Microsoft Visual C++ 4.2 Enterprise Edition

 Microsoft Visual C++ 5.0 Learning Edition 

-

<div class="notice_section">

This article was previously published under Q156076

<div class="symptoms_section">

SYMPTOMS
The WWWQuote sample reports the following error when trying to bring up a new page from the Welcome page.

BAD REQUEST

Your client sent a request that this server didn't understand.

Request:

<div class="cause_section">

CAUSE
The HTML in the sample that is generated for the pages has a bug that prevents the DLL from correctly parsing the input from these pages.

<div class="resolution_section">

RESOLUTION
Modify all the .htm files as shown below to fix the problem.

Replace all instances of

NAME="MfcISAPICommmand"

with the following:

NAME="MfcISAPICommand"

Note that the original .htm files have an extra [ASCII 147]m[ASCII 148] in MfcISAPICommand. Rebuild the DLL.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This has been fixed in the WWWQuote sample that shipped with Visual C++ version 5.0 or later.

<div class="moreinformation_section">

MORE INFORMATION
The files that contain the bug are:

issueerr.htm

next.htm

prev.htm

quoteerr.htm

selhead.htm

settail.htm

welcome.htm

You can open these files by expanding the dependency files in Fileview for the project, and double-clicking the .htm file.

Additional query words: WWWQuote

Keywords: kbbug kbvc500fix KB156076

-

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

© Microsoft Corporation. All rights reserved.