"Network Error Occurred" error message when MSXML 4.0 installed (313256)



The information in this article applies to:

  • Microsoft XML 4.0

This article was previously published under Q313256

SYMPTOMS

When you attempt to run the setup program for the October 2001 RTM release of the MSXML 4.0 parser, you may receive the following error message:
A network error occured while attempting to read from the file <path to msxml.msi>
NOTE: In this error message, the word "occured" is a misspelling for the word "occurred."

CAUSE

The computer on which the setup program is being run has the April 2001 or the July 2001 Technology Preview release of the MSXML 4.0 parser installed. Upgrading from a preview release to the RTM version is not supported and causes the specified error.

RESOLUTION

To resolve this problem, uninstall the April 2001 or July 2001 Technology Preview release of the MSXML 4.0 parser before you install the RTM version.

STATUS

This behavior is by design.

MORE INFORMATION

You can download the MSXML 4.0 parser from the following Microsoft Developer Network (MSDN) Web site: IMPORTANT: If you installed the April 2001 Technology Preview release of MSXML 4.0, note that version-independent MSXML ProgIDs that exist in the April 2001 Technology Preview release of MSXML 4.0 have been removed in the October 2001 RTM release of the parser. If you install the RTM release on a computer with the April 2001 Technology Preview release, the version-independent MSXML ProgIDs cease to function.

To uninstall a Technology Preview release of MSXML 4.0 and install the RTM release, follow these steps:
  1. Use the following command to unregister the Msxml4.dll file:

    regsvr32 /u msxml4.dll

    This dynamic link library (DLL) is located in the Windows system folder. The system folder is usually C:\Winnt\System32 for Microsoft Windows NT 4.0 or Microsoft Windows 2000 systems, or C:\Windows\System for Microsoft Windows 95, Microsoft Windows 98, and Microsoft Windows Millennium Edition (Me) systems.

  2. Register the latest DLL from a version of the MSXML parser that is earlier than version 4.0 on the computer to restore the version-independent MSXML ProgIDs. For example, you can use the following command to register the MSXML 3.0 parser DLL and restore version-independent ProgIDs to point to MSXML 3.0:

    regsvr32 msxml3.dll

    For additional information on parser DLLs earlier than version 4.0, click the article number below to view the article in the Microsoft Knowledge Base:

    269238 INFO: Version List of the Microsoft XML Parser

  3. Uninstall the MSXML 4.0 Technology Preview release. To do this, use the setup program that you used to install the parser, and select Remove option.
  4. Type the following at a command prompt to physically delete the Msxml4.dll, Msxml4a.dll, and Msxml4r.dll files that are located in the Windows system folder:

    del <path to windows system folder>\msxml4*.dll

    NOTE: Depending on the operating system version, Msxml4a.dll or Msxml4r.dll may not be present in the system.

  5. Install the MSXML 4.0 October 2001 RTM release.

Modification Type:MinorLast Reviewed:3/1/2005
Keywords:kbprb KB313256