IIS Sends Image Map File Instead of Processing the Script

Last reviewed: April 22, 1997
Article ID: Q151622

The information in this article applies to:

- Microsoft Internet Information Server version 1.0

SYMPTOMS

When you click a server-side image map, the browser downloads the image map file instead of taking you to a link defined in the image map. Depending on which browser you are using, it may display the map file or prompt you to save it to disk.

CAUSE

Given the following image map:

   rect (0,1) (170,53) http://server/file1.htm
   rect (264,26) (349,53) http://server/file2.htm
   rect (187,23) (264,53) http://server/file3.htm

If you click an area not defined by the coordinates the DEFAULT case should be returned by the server. In this case, no DEFAULT case is defined. Internet Information Server (IIS) sends the contents of the map file to the browser client with the following header:

   Content-type: application/octet-stream

Depending on how you have the MIME type mapped in your browser, you will receive different results. Some clients may give you an error about "unhandled file type" while others will display the content as plain text.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Internet Information Server version 1.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words:
Keywords : iisui kbenv
Version : 1.0
Platform : 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: April 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.