KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q151622: IIS Sends Image Map File Instead of Processing the Script

Article: Q151622
Product(s): Internet Information Server
Version(s): 1.0
Operating System(s): 
Keyword(s): kbenv
Last Modified: 07-MAY-1999

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Internet Information Server 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.

======================================================================
Keywords          : kbenv 
Technology        : kbiisSearch kbiis100
Version           : 1.0

=============================================================================

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.

Copyright Microsoft Corporation 1986-2002.