BUG: Load Method Fails to Load XML Documents over SSL Connection (272359)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 5
- Microsoft Internet Explorer (Programming) 5.01
- Microsoft Internet Explorer (Programming) 5.01 SP1
- Microsoft Internet Explorer (Programming) 5.5
- Microsoft XML 3.0
- Microsoft XML 3.0 SP1
- Microsoft XML 4.0
This article was previously published under Q272359 SYMPTOMS
When you use the Load method of the XMLDOM object model to synchronously load an Extensible Markup Language (XML) document on a client computer over an SSL connection, the method fails with error 0x800c0007 and the INET_E_DATA_NOT_AVAILABLE return value.
CAUSE
This problem occurs when the file is not cached on the client computer. There are several reasons why the file may not be cached:
- The user selects the Do not save encrypted pages to disk check box on the Advanced tab of the Internet Options dialog box.
- The server sends a Pragma:no-cache or Cache-control:no-cache header.
- If you are using Microsoft Internet Information Server (IIS), the Content-Expiration option is set to Expire Immediately, which sends no-cache headers as well as the Expires:0 http header.
RESOLUTION
To resolve this problem, perform the following steps:
- In Internet Explorer, on the Tools menu, click Internet Options. On the Advanced tab, clear the Do not save encrypted pages to disk check box.
- Make sure that the server does not send no-cache headers.
- In IIS, in the Microsoft Management Console (MMC) snap-in, right-click the XML file. On the HTTP Headers tab, turn off the Content-Expiration option.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCES
For more information on XML, see the following article on the Microsoft Developer Network (MSDN):
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Modification Type: | Major | Last Reviewed: | 5/11/2006 |
---|
Keywords: | kbbug kbpending KB272359 |
---|
|