Article ID: 291841 - Last Review: October 16, 2002 - Revision: 1.3 FIX: "Access Denied" Error Loading Local XML File When ServerHTTPRequest Property Is TrueThis article was previously published under Q291841 On This PageSYMPTOMS
When you attempt to load a locally hosted XML file into an XMLDOMDocument object and the ServerHTTPRequest property of the document is set to True, you may receive the following error message:
Access Denied
RESOLUTIONThis bug was corrected in XML 3.0 Service Pack 1. To work around the problem, follow these steps:
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This bug was corrected in XML 3.0 Service Pack 1. For additional information on other fixes included in Microsoft XML 3.0 Service Pack 1, click the article number below to view the article in the Microsoft Knowledge Base: 292935
(http://support.microsoft.com/kb/292935/EN-US/
)
INFO: List of Issues Fixed in Microsoft XML 3.0 Service Pack 1
For the latest information and downloads of MSXML, refer to the following MSDN Web site at:
http://msdn.microsoft.com/xml
(http://msdn.microsoft.com/xml)
MORE INFORMATION
To load an XML document from a server that is located behind a firewall, with the ServerHTTPRequest property set to True, you must first run the WinHTTP Proxy Configuration Utility (Proxycfg.exe). However, if the XML document is loaded from a server that is not behind a firewall, you should not need to first run Proxycfg.exe, even if you only use the proxycfg -d command.
Steps to Reproduce BehaviorTo properly reproduce the error, use a system on which Proxycfg.exe has not been run.
REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
281142
(http://support.microsoft.com/kb/281142/EN-US/
)
PRB: Load Method Fails When Loading XML File Over HTTP
289481
(http://support.microsoft.com/kb/289481/EN-US/
)
HOWTO: Proxy Configuration Must Be Run for ServerXMLHTTP to Work
| Article Translations
|
Back to the top
