Microsoft KB Archive/308603

From BetaArchive Wiki
Knowledge Base


Article ID: 308603

Article Last Modified on 11/15/2007



APPLIES TO

  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 5.01
  • Microsoft Internet Explorer (Programming) 5.01 SP1
  • Microsoft Internet Explorer 5.5
  • Microsoft Internet Explorer (Programming) 5.5 SP2
  • Microsoft Internet Explorer (Programming) 6.0
  • Microsoft XML Parser 3.0
  • Microsoft XML Parser 3.0 Service Pack 1
  • Microsoft XML Parser 3.0 Service Pack 2
  • Microsoft XML Core Services 4.0



This article was previously published under Q308603

SYMPTOMS

When you call the load method of the XML2.DOMDocument object to load an XML document through a script, Internet Explorer sends an "If-Modified-Since" header for the XML file.

CAUSE

The MSXML2.DomDocument load method relies on Urlmon to load the file. When it calls Urlmon, MSXML2.DomDocument sets the BINDF_RESYNCHRONIZE flag. This results in a conditional GET request being sent to the server if the data is already in the cache.

BINDF_RESYNCHRONIZE is used because of an Internet Explorer issue that causes undated documents to stay in the cache indefinitely. This issue has been fixed in Internet Explorer 5.5 Service Pack 2 and Internet Explorer 6. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

274077 PRB: External Content Is Resynchronized on Form Submit


RESOLUTION

A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft XML service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

The English version of this fix should have the following file attributes or later:

   File name    Size       Date         Version
   ------------------------------------------------
   Msxml3.dll   1,108,992  Oct-20-2001  8.10.9019.0
   Msxml3a.dll     24,576  Oct-20-2001  8.10.9019.0
   Msxml3r.dll     44,032  Oct-20-2001  8.10.9019.0
   Xmlinst.exe     28,672  Oct-20-2001  6.0.2462.0  
                


After you install this hotfix, you can use a new property that is named ForcedResync with the default value set to True. You can do this to keep the current behavior (a conditional GET request) for existing programs. You must set this property to False to suppress resynchronization (to prevent XML from using BINDF_RESYNCHRONIZE). To do this, use this method:

set dom = CreateObject("MSXML2.DOMDocument.3.0")
dom.async = False
dom.setProperty "ForcedResync", False
dom.load "http://someserver/somefile.xml%22


To avoid any problems when you set ForcedResync to False, documents must have expiration dates, or the client must be Internet Explorer 5.5 Service Pack 2 or Internet Explorer 6.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Note that installing this hotfix and setting the ForcedResync property to False solves one of the issues that is described in the following Microsoft Knowledge Base article:

293099 BUG: Cached XML Files Generate Unnecessary GET Requests


Keywords: kbhotfixserver kbqfe kbprb kbqfe KB308603