Knowledge Base

IIS Sends Image Map File Instead of Processing the Script

Article ID: 151622

Article Last Modified on 10/20/2006


APPLIES TO


This article was previously published under Q151622
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

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


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 KB151622