Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 819333 - Last Review: March 9, 2007 - Revision: 1.3
BUG: "Run-time error: -2147467259 IPersistXML: Error parsing XML" error message when you load an XML document in Commerce Server 2002
Well-formed XML documents start with a declaration that identifies the document and that identifies the version of XML that is being used.
However, if the
<xml version='1.0'> tag is present in an XML document, the
LoadXML method of the
IPersistXML interface fails when the
LoadXML method tries to load the document in Microsoft Commerce Server 2002. When this problem occurs, you receive the following error message:
Run-time error: -2147467259 IPersistXML: Error parsing XML
Error Code 0x80004005
Description: “Unspecified errorâ€. Error occurred in XML stream near…
The
LoadXML method is not designed to handle all components of an XML document. In this case, the
LoadXML method fails when it tries to parse the header.
Remove the
<xml version='1.0'> tag from the header of the XML document before you process the document.
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
For more information about the
IPersistXML interface, visit the following Microsoft Developer Network (MSDN) Web site:
APPLIES TO
- Microsoft Commerce Server 2002 Service Pack 3
- Microsoft Commerce Server 2002 Service Pack 2
- Microsoft Commerce Server 2002 Service Pack 1
- Microsoft Commerce Server 2002 Standard Edition
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate