Microsoft KB Archive/313256

= &quot;Network Error Occurred&quot; error message when MSXML 4.0 installed =

Article ID: 313256

Article Last Modified on 3/1/2005

-

APPLIES TO


 * Microsoft XML Core Services 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 

NOTE: In this error message, the word &quot;occured&quot; is a misspelling for the word &quot;occurred.&quot;



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:

http://msdn.microsoft.com/xml

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:  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.

 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

 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. 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 \msxml4*.dll

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

</li> Install the MSXML 4.0 October 2001 RTM release.</li></ol>

Keywords: kbprb KB313256

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.