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.

Some hyperlinks may fail when the server sends a VARY header response


View products that this article applies to.

Symptoms

When you visit a Web site that contains a link to a file that will be opened outside Internet Explorer, and the Web site also includes the VARY header in the response to the client GET request, you may receive the following error message when you click the link and then click Open:

Error:
Cannot open the file path of a temp file.

↑ Back to the top


Cause

The VARY header instructs the client not to use a cached file. Therefore, Internet Explorer does not write the .chm file to the hard disk. HTML Help requires a file. The VARY header response from the server is similar to the following:
 "vary: accept-encoding, accept-language, cookie,
		  user-agent, translate"
Internet Explorer does not fully implement the VARY header per Requests for Comments (RFC) 2616. The Internet Explorer implementation of VARY is that it does not cache any data except for Vary-Useragent.

↑ Back to the top


More information

This problem is known to occur with HTML Help files (.chm files) and vCard files (.vcf files). Other programs that are not listed in the "Applies To" section of this article may also exhibit this problem. Programs that open files directly in Internet Explorer, such as Adobe Acrobat, do not exhibit this problem.

↑ Back to the top


Keywords: KB824847, kbprb

↑ Back to the top

Article Info
Article ID : 824847
Revision : 7
Created on : 2/5/2007
Published on : 2/5/2007
Exists online : False
Views : 350