PRB: "Class Not Registered" Error Opening an XML Recordset (198533)
The information in this article applies to:
- ActiveX Data Objects (ADO) 2.1
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q198533 SYMPTOMS Attempting to open an XML recordset in ADO 2.1 may generate
the following error: 2147221162 - "Class not
registered". Alternatively, you may see the following error:
Run-time error '3709': The application requested an
operation on an object with a reference to a closed or invalid Connection
object. CAUSE While ADO 2.1 includes libraries that are used to generate
AND persist Extensible Markup Language (XML), it does not ship the XML parser
required to read the contents of the XML file and generate a recordset object.
RESOLUTION To download the latest version of MSXML, go to . You may obtain the Microsoft XML Parser from the following
resource:
- The XML parser is included with Microsoft Internet Explorer
version 5.0. You may download or order Internet Explorer 5.0 from the following
Web site:
- You may download the Microsoft XML Parser Redistributable,
which upgrades the Microsoft XML parser from Internet Explorer 4.01 SP2 or
later to the parser provided with Microsoft Internet Explorer 5. The
redistributable is available for download from the following site: NOTE: Although the parser redistributable provides all of the features
available from the Microsoft XML parser with Internet Explorer 5, some of the
XML features available with Internet Explorer 5 will not work on Internet
Explorer 4.01 SP1.
- The Microsoft Data Access Components versions 2.6 or later
include the Microsoft XML Parser. You may download the latest version of the
Microsoft Data Access Components from the following site:
STATUS This behavior is by design.
Modification Type: | Major | Last Reviewed: | 1/26/2006 |
---|
Keywords: | kbprb KB198533 |
---|
|