Application errors occur after you run Xmlinst.exe on production servers

Article translations Article translations
Article ID: 278636 - View products that this article applies to.
This article was previously published under Q278636
Expand all | Collapse all

On This Page

Problem description

After you run Xmlinst.exe, applications (such as Microsoft SQL Server 2000) may no longer run correctly.

To have us fix this problem for you, go to the “Fix it for me” section. If you would rather fix this problem yourself, go to the “Let me fix it myself” section.

Fix it for me

To fix this problem automatically, click the Fix this problem link. Then, click Run in the File Download dialog box, and follow the steps in this wizard.


Fix this problem
Microsoft Fix it 50193


Notes
  • This wizard may be in English only; however, the automatic fix also works for other language versions of Windows.
  • If you are not on the computer that has the problem, you can save the automatic fix to a flash drive or a CD so that you can run it on the computer that has the problem.
Now go to the "Did this fix the problem?" section.

Let me fix it myself

When you run Xmlinst.exe, the program alters the ProgID values in the registry for all the earlier versions of the Microsoft XML parser (MSXML), and it forces them to use the latest version of the MSXML .dll file. To resolve this problem and to reverse the effects of the previous Xmlinst.exe program, you must first run the xmlinst.exe -u command to remove the existing registry keys. Then, you must use Regsrv32.exe to register the specific versions of the .dll files that you want. We recommend that you register all current versions of the MSXML parser. To install a specific version of the MSXML parser, see the "MSXML versions" table in the "More information" section. This table details the MSMXL versions. For example, to register the MSXML 2.6 parser, use the following command:
regsvr32.exe msxml2.dll

Did this fix the problem?

Check whether the problem is fixed. If the problem is fixed, you are finished with this article. If the problem is not fixed, you can contact support.

Status

This behavior is by design.

Xmlinst.exe is intended as a convenient method for developers to run the latest version of the MSXML parser in all their programs. By doing this, developers can avoid the need to recompile and update existing programs when they use and test the latest version of the MSXML parser, regardless of the parser version that the program was originally specified to use.

More information

The MSXML parser is intended for installation in side-by-side mode. This lets you install specific versions of the MSXML parser that you want installed without one installation of the MSXML parser affecting another installation. Therefore, all separate versions of the MSXML parser can coexist. Additionally, the new and previous .dll files for the parser can reside side-by-side on your computer.

Alternatively, you can install the parser by using replace mode. In replace mode, all references to any version references of the MSXML parser are updated so that only the latest version of the MSXML parser is used. Therefore, when you run Xmlinst.exe, Xmlinst.exe may cause programs that were written for and tested with specific versions to fail.

Note If you run Xmlinst.exe, Xmlinst.exe may cause system instability, and it may cause programs to fail. After you run Xmlinst.exe, the computer is in an unsupported state. Also, the changes that are made by Xmlinst.exe are global to the computer on which Xmlinst.exe was run, and these changes affect all the programs that use the MSXML parser.

Although MSXML is installed in replace mode, no .dll files are replaced or deleted. Only the registry is updated. Xmlinst.exe updates all the registry entries for each specific version of the MSXML parser so that it points to the newest version of the MSXML parser. Because Xmlinst.exe updates only the registry, all the earlier versions of the .dll files must be resident on the computer in order to reverse the effects of a previous execution of Xmlinst.exe. The Xmlinst.exe commands and descriptions are listed in the following table:
Collapse this tableExpand this table
CommandBehavior
xmlinst(Replace mode) Replace the existing MSXML parser with Msxml3.dll.
xmlinst -u msmxlDeletes all entries from the registry that were created by Msxml.dll.
xmlinst -u msxml3Deletes all entries from the registry that were created by Msxml3.dll.
xmlinst -uDeletes all entries from the registry that were created by any version of the MSXML parser.
xmlinst -?Print usage message.

To switch to a different version of the MSXML parser

To switch to a different version of the MSXML parser, follow these steps:
  1. At a command prompt, type the following, where pathname is the location of Xmlinst.exe:
    pathname\xmlinst.exe -u
    The previous command clears all the registry entries.
  2. Register the DLL files that you want to use.
    1. To register Msxml.dll, type the following command, and then press ENTER:
      regsvr32 msxml.dll
    2. To register Msxml2.dll, type the following command, and then press ENTER:
      regsvr32 msxml2.dll
    3. To register Msxml3.dll, type the following command, and then press ENTER:
      regsvr32 msxml3.dll
MSXML versions
Collapse this tableExpand this table
VersionsFile Name File Version #
1.0 Msxml.dll 4.71.1712.5
1.0a Msxml.dll 4.72.2106.4
1.0 Service Pack 1 (SP1) Msxml.dll 4.72.3110.0
2.0 Msxml.dll 5.0.2014.0206
2.0a Msxml.dll 5.0.2314.1000
2.0b Msxml.dll 5.0.2614.3500
2.5 Beta 2 Msxml.dll 5.0.2919.38
2.5a Msxml.dll 5.0.2919.6303
2.5 Msxml.dll 5.0.2920.0
2.5 Service Pack 1 (SP1) Msxml.dll 8.0.5226
2.6 January 2000 Web Release Msxml2.dll (January Web Release) 7.50.4920.0
2.6 Beta 2 Msxml2.dll 8.0.5207.3
2.6 Msxml2.dll 8.0.6518.1
3.0 March 2000 Web Release Msxml3.dll (March Web Release) 7.50.5108.0
3.0 May 2000 Web Release Msxml3.dll (May Web Release) 8.0.7309.3
3.0 July 2000 Web Release Msxml3.dll (July Web Release) 8.0.7520.1
3.0 September 2000 Web Release Msxml3.dll (September Web Release) 8.0.7722.0
3.0 ReleaseMsxml3.dll8.0.7820.0
XML versions that are included with products
Collapse this tableExpand this table
Operating System or ProgramInternet Explorer
Version
MSXML
Version
*Microsoft Internet Explorer 4.01.0
File version #: 4.71.1712.5
Microsoft Windows 95, OEM Service Release 2.5Microsoft Internet Explorer 4.0a1.0a
File version #: 4.72.2106.4
*Microsoft Internet Explorer 4.01 Service Pack 1 (SP1) 2.0a
File version #: 5.0.2014.0206
*Microsoft Internet Explorer 5.02.0
File version #: 5.0.2014.0206
Microsoft Office 2000 Microsoft Internet Explorer 5.0a2.0a
File version #: 5.0.2314.1000
MSXML redistribution2.0a
File name: Msxmlr.dll
File version #: 5.0.2314.1000
Microsoft Windows 98 Second EditionMicrosoft Internet Explorer 5.0b 2.0b
File version #: 5.0.2614.3500
Microsoft Windows 95 or Microsoft Windows 98Microsoft Internet Explorer 5.01 2.5a
File version #: 5.0.2919.6303
Microsoft Windows NT 4.0 Microsoft Internet Explorer 5.01 2.5a
File version #: 5.0.2919.6303
Microsoft Windows 2000 Microsoft Internet Explorer 5.01 2.5File version #: 5.0.2920.0
Microsoft Windows 2000 Microsoft Internet Explorer 5.01 Service Pack 1 (SP1) 2.5 Service Pack 1 (SP1)
File version #: 8 .0.5226
Microsoft Windows 95 or Microsoft Windows 98Microsoft Internet Explorer 5.5 2.5 Service Pack 1 (SP1)
File version #: 8.0.5226
Microsoft Windows NT 4.0Microsoft Internet Explorer 5.5 2.5 Service Pack 1 (SP1)
File version #: 8.0.5226
Microsoft Windows 2000 Microsoft Internet Explorer 5.5 2.5 Service Pack 1 (SP1)
File version #: 8.0.5226
Microsoft Windows 2000 Service Pack 1 (SP1)Microsoft Internet Explorer 5.52.5 Service Pack 1 (SP1)
File version #: 8.0.5226

Collapse this tableExpand this table
SQL ServerMSXML Version
Microsoft SQL Server 2000 Beta 22.6 b2
File version #: 8.0.5207.3
Microsoft SQL Server 20002.6
File version #: 8.0.6518.1

Collapse this tableExpand this table
BizTalkMSXML Version
BizTalk (Technology Preview)2.6
File version #: 8.0.6518.1
BizTalk (Beta) 2.6
File version #: 8.0.6518.1

GUID and ProgID information

The MSXML 3.0 Beta release is installed on the computer in side-by-side mode. This mode protects the applications that currently use the Msxml.dll and Msxml2.dll files. Side-by-side mode also lets you decide which version of the parser to use in your code. If you currently run MSXML in side-by-side mode, and you have coded to old ClassIDs and ProgIDs, your applications do not detect the new features of the MSXML 3.0 Beta release. To enable applications to use the features of the MSXML 3.0 Beta release, run the parser in replace mode.

Note When you run the parser in replace mode, this may alter the behavior of any XML applications that use old ProgIDs.

The following table is a convenient reference that lists the different Symbolic Name, GUID, and ProgID combinations:
Collapse this tableExpand this table
Symbolic NameGUIDProgID
CLSID_DOMDocumentold: {2933BF90-7B36-11D2-B20E-00C04F983E60}
new: {f6d90f11-9c73-11d3-b32e-00c04f990bb4}
old: Microsoft.XMLDOM, MSXML.DOMDocument
new: MSXML2.DOMDocument
version dependent:
CLSID_DOMDocument30
{f5078f32-c551-11d3-89b9-0000f81fe221}MSXML2.DOMDocument.3.0
CLSID_FreeThreadedDOMDocumentold: {2933BF91-7B36-11D2-B20E-00C04F983E60}
new: {f6d90f12-9c73-11d3-b32e-00c04f990bb4}
old: Microsoft.FreeThreadedXMLDOM,
MSXML.FreeThreadedDOMDocument
new:
MSXML2.FreeThreadedDOMDocument
version dependent:
CLSID_FreeThreadedDOMDocument30
{f5078f33-c551-11d3-89b9-0000f81fe221}MSXML2.FreeThreadedDOMDocument.3.0
CLSID_DSOControl old: {550DDA30-0541-11D2-9CA9-0060B0EC3D39}
new: {f6d90f14-9c73-11d3-b32e-00c04f990bb4}
old: Microsoft.XMLDSO
new: MSXML2.DSOControl
version dependent:
CLSID_DSOControl30
{f5078f39-c551-11d3-89b9-0000f81fe221}MSXML2.DSOControl.3.0
CLSID_XMLHTTPold: {ED8C108E-4349-11D2-91A4-00C04F7969E8}
new: {f6d90f16-9c73-11d3-b32e-00c04f990bb4}
old: Microsoft.XMLHTTP
new: MSXML2.XMLHTTP
version dependent:
CLSID_XMLHTTP30
{f5078f35-c551-11d3-89b9-0000f81fe221} MSXML2.XMLHTTP.3.0
CLSID_XMLSchemaCache{373984C9-B845-449B-91E7-45AC83036ADE}MSXML2.XMLSchemaCache
version dependent:
CLSID_XMLSchemaCache30
{f5078f34-c551-11d3-89b9-0000f81fe221}MSXML2.XMLSchemaCache.3.0
CLSID_XSLTemplate{2933BF94-7B36-11d2-B20E-00C04F983E60} MSXML2.XSLTemplate
version dependent:
CLSID_XSLTemplate30
{f5078f36-c551-11d3-89b9-0000f81fe221}MSXML2.XSLTemplate.3.0

Properties

Article ID: 278636 - Last Review: September 17, 2011 - Revision: 7.0
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft Exchange 2000 Server Standard Edition
Keywords: 
kbfixme kbmsifixme kbproductlink kbmsxmlnosweep kbprb KB278636

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com