PRB: Cannot Use XML Interfaces Remotely (259004)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 5
- Microsoft Internet Explorer (Programming) 5.01
- Microsoft Internet Explorer (Programming) 5.5
This article was previously published under Q259004 SYMPTOMS
When you try to pass an XML interface between execution contexts, such as from a Microsoft Transaction Server component back to its caller or over the network through the use of DCOM, you receive the following error message when you call one of the interface's methods:
HRESULT = 0x800703E6: Invalid access to memory location.
CAUSE
Pointers to XML interfaces cannot cross execution contexts.
RESOLUTION
If you want to use XML across execution contexts, define a method on your wrappers that passes the raw XML data back to the caller (which you obtain through the use of IXMLDOMDocument::get_XML()). The caller can then call IXMLDOMDocument::loadXML(BSTR) on this string to restore the XML object locally.
STATUS
This behavior is by design.
REFERENCESFor additional information on COM threading models, click the article number below
to view the article in the Microsoft Knowledge Base:
150777 INFO: Descriptions and Workings of OLE Threading Models
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: | kbMSXMLnosweep kbprb KB259004 |
|---|
|