BUG: WWWQuote Sample Generates Error Message

Last reviewed: July 10, 1997
Article ID: Q156076
4.20 Windows NT kbprg kbbuglist kbother

The information in this article applies to:

  • The Microsoft Foundation Classes (MFC), included with: Microsoft Visual C++, 32-bit Edition, version 4.2

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:

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.

RESOLUTION

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

Replace all instance of

   NAME="MfcISAPICommmand"

with the following:

   NAME="MfcISAPICommand"

Note that the original .htm files have an extra “m” in MfcISAPICommand. Rebuild the DLL.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

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.


KBCategory: kbprg kbbuglist kbother
KBSubcategory: MfcISAPI MfcMisc
Additional reference words: WWWQuote 4.20 kbdsi vcbuglist420
Keywords : MfcISAPI MfcMisc kbbuglist kbother kbprg
Technology : kbMfc
Version : 4.20
Platform : NT Windows


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.