Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Internet Explorer Saves HTML Content Instead of the Active Document


View products that this article applies to.

Symptoms

When dynamic content is generated by a Web server and it is returned by using the Hypertext Transfer Protocol (HTTP) Content-Disposition: Attachment header, you receive an Open dialog box. If you choose the Save As option, Internet Explorer prompts you with the file name and program type, but the file name is the name of the referrer document and the contents are the Hypertext Markup Language (HTML) code instead of the file name that is indicated in the header and the contents that were dynamically generated and returned from the server. When dynamic content is generated by a Web server and it is returned by using the Hypertext Transfer Protocol (HTTP) Content-Disposition: Attachment header, you receive a File Download dialog box. If you choose the Save this file to disk option, Internet Explorer prompts you with the file name and program type, but the file name is the name of the referrer document and the contents are the Hypertext Markup Language (HTML) code instead of the file name that is indicated in the header and the contents that were dynamically generated and returned from the server.

You may also receive multiple File Download dialog boxes attempting to open a single file attachment in an e-mail message when using Outlook Web Access to connect to a Microsoft Exchange 5.5 server.

↑ Back to the top


Cause

This problem can occur if Internet Explorer does not correctly process the Content-Disposition header and the data that this header is defining.

↑ Back to the top


Resolution

To resolve this problem, obtain the latest service pack for Internet Explorer version 5.5. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
267954 How to Obtain the Latest Internet Explorer 5.5 Service Pack
If you are unable to apply the service pack, you may apply the latest Internet Explorer Security Rollup patch for Internet Explorer 5.5 SP1 from the following Microsoft Web site: The English-language version of this fix should have the following file attributes or later:
   Date      Time     Version       Size       File name   Platform
   -----------------------------------------------------------------
   4/2/2001  5:28pm  5.50.4616.200 2,748,688   Mshtml.dll  Intel 
				
This patch can only be installed on systems running Internet Explorer 5.5 Service Pack 1.

↑ Back to the top


Workaround

To work around this problem, choose to open the document when you receive the Open dialog box, and then click Save As on the File menu after the document opens to save the document to your computer. Note that you can also right-click the download link, and then click Save Target As.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Internet Explorer version 5.5 Service Pack 2.

↑ Back to the top


Properties

Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

↑ Back to the top


Keywords: KB281119, kbui, kbprb, kbie550presp2fix, kbenv, kbqfe, kbhotfixserver

↑ Back to the top

Article Info
Article ID : 281119
Revision : 5
Created on : 1/29/2007
Published on : 1/29/2007
Exists online : False
Views : 428