Internet Explorer Prompts the User with Two Open or Save Dialog Boxes

Article translations Article translations
Article ID: 238588 - View products that this article applies to.
This article was previously published under Q238588
Expand all | Collapse all

SUMMARY

You may be prompted with two Open or Save dialog boxes when you use Internet Explorer to connect to certain Web pages under the following conditions:
  • Neither a file name nor an extension is specified in the Uniform Resource Locator (URL) of a Get request.

    -and-

  • The server replies with both a registered "Content-Type" header and the "Content-Disposition: attachment; filename=" header which specify the file name that you want.

MORE INFORMATION

Because neither a file name nor an extension is defined in the URL for the Get request, Internet Explorer does not know what type of data to expect in the response; therefore, Internet Explorer sets a default Octet-Stream data type.

This data type causes Internet Explorer to display the Open or Save dialog box with the file name information that indicates the Active Server Pages (ASP), Common Gateway Interface (CGI), or PerlScript file that had been located in the URL for the Get request.

If you open the document, Internet Explorer examines the data type that is currently set for Octet-Stream. Because this is an ambiguous data type and there is no file name or extension information in the URL, Internet Explorer looks for additional headers and finds the "Content-Type" and "Content-Disposition: attachment; filename= " headers.

Because the file name and extension is specified in the "Content-Disposition: attachment; filename=" header and the data type is defined in the "Content-Type" header, you are prompted with a second Open or Save dialog box that contains the correct file name information.

To resolve this issue in Internet Explorer 5.5 only, update to Service Pack 2.

REFERENCES

For additional information about a similar issue, click the following article number to view the article in the Microsoft Knowledge Base:
303750 Incorrect File Name in the File Open or File Save Dialog Boxes

Properties

Article ID: 238588 - Last Review: January 24, 2007 - Revision: 4.4
APPLIES TO
  • Microsoft Internet Explorer 5.5
  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 5.5
  • Microsoft Internet Explorer 5.5
  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 5.5
  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 5.5
  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 6.0, when used with:
    • Microsoft Windows XP Home Edition
    • Microsoft Windows XP Professional
    • Microsoft Windows XP Media Center Edition
    • Microsoft Windows XP Tablet PC Edition
    • Microsoft Windows 2000 Advanced Server
    • Microsoft Windows 2000 Datacenter Server
    • Microsoft Windows 2000 Professional Edition
    • Microsoft Windows 2000 Server
    • Microsoft Windows NT Server 4.0 Standard Edition
    • Microsoft Windows NT Server 4.0, Terminal Server Edition
    • Microsoft Windows NT Workstation 4.0 Developer Edition
    • Microsoft Windows Millennium Edition
    • Microsoft Windows 98 Second Edition
    • Microsoft Windows 98 Standard Edition
Keywords: 
kbprb KB238588

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com