PRB: loadXML Method Fails to Process DTD or Schema with Relative Path at the Server Side (254643)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 5
- Microsoft Internet Explorer (Programming) 5.01
- Microsoft XML 2.5
- Microsoft XML 2.6
- Microsoft XML 3.0
- Microsoft XML 4.0
This article was previously published under Q254643 SYMPTOMS
When you use the loadXML method to load an XML string that references an external document type definition (DTD) or schema on the server side in an Active Server Pages (ASP) page, the following error message may appear:
"System error: -2146697210. Error processing resource 'xxx.DTD'"
CAUSE
The Microsoft XML parser (MSXML) cannot determine the physical location of the file from a relative path.
RESOLUTION
To resolve this problem, use an absolute path instead of a relative path. You can use either a full Universal Naming Convention (UNC) path or a file path. You can use the MapPath method of the server object to map a specified relative or virtual path to the corresponding physical folder on the server.
REFERENCESFor more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
MSDN Online, Essentials
Platform SDK, Server.MapPath
For additional information237906, click the article numberPRB: Loading Remote XML or Sending XML HTTP Requests from Server Is Not Supported below
to view the articlePRB: Loading Remote XML or Sending XML HTTP Requests from Server Is Not Supported in the Microsoft Knowledge Base:
Modification Type: | Major | Last Reviewed: | 5/11/2006 |
---|
Keywords: | kbprb kbSBNWorkshop KB254643 |
---|
|