BUG: "WinHTTP5.dll Could Not Be Found" Error Message When You Run Proxycfg.exe after You Install MSXML 4.0 SP2 (829735)



The information in this article applies to:

  • the operating system: Microsoft Windows 2000 SP3
  • Microsoft XML 4.0 SP2

SYMPTOMS

When you install Microsoft XML (MSXML) 4.0 Service Pack 2 (SP2) on a computer that is running Microsoft Windows 2000 Service Pack 1 (SP1) or on a computer that is running Windows 2000 Service Pack 2 (SP2), the Microsoft Windows HTTP Services (WinHTTP) proxy configuration tool (Proxycfg.exe) does not set the WinHTTP proxy settings, and you receive the following error message:
The dynamic link library WINHTTP5.dll could not be found in the specified path C:\WINNT\system32;.;C:\WINNT\system32;C:\WINNT\system;C:\WINNT;C:\WINNT\system32;C:\WINNT;
C:\WINNT\system32\WBEM;C:\Program Files\ActivCard\ActivCard Gold\resources;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\PROGRA~1\CA\Common\SCANEN~1;C:\PROGRA~1\CA\eTrust\
ANTIVI~1;C:\WINNT\System32;C:\Program Files\Cooktop 2.5.

CAUSE

WinHTTP.dll is part of Windows 2000 Service Pack 3 (SP3) and Windows 2000 Service Pack 4 (SP4). WinHTTP5.dll is part of MSXML4.0 SP2. The WinHTTP proxy configuration tool (Proxycfg.exe) is part of MSXML 4.0 SP2. However, it is not part of Windows 2000 SP3 or Windows 2000 SP4. When MSXML 4.0 SP2 is installed on a computer that is running Windows 2000 SP1 or Windows 2000 SP2, MSXML 4.0 SP2 installs Proxycfg.exe, but does not install the WinHTTP5.dll component because the WinHTTP.dll component already exists. Proxycfg.exe is installed by using MSXML 4.0 SP2 and is not compatible with the WinHTTP5.dll component. Therefore, when you run Proxycfg.exe, you receive the error message that is mentioned in the "Symptoms" section of this article.

WORKAROUND

To work around this bug, manually copy the Proxycfg.exe file as follows. To do this, copy the WinHTTP proxy configuration tool (Proxycfg.exe) that is available in the following Windows Server 2003 directory:

C:\WINDOWS\System32

to the following Windows 2000 SP3 or Windows 2000 SP4 directory:

C:\WINNT\System32

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce the Behavior

  1. Make sure that MSXML 4.0 SP2 is not installed on the computer. If MSXML 4.0 SP2 is already installed, remove MSXML 4.0 SP2 by using the Add or Remove Programs tool in Control Panel.
  2. Create a folder, and then name it TempFolder.
  3. Download the MSXML 4.0 SP2 Microsoft Installer file to the C:\TempFolder folder. The following file is available for download from the Microsoft Download Center:
    DownloadDownload the MSXML 4.0 SP2 package now. Release Date: June 2, 2003

    For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

    119591 How to Obtain Microsoft Support Files from Online Services

    Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
  4. On a computer that is running Windows 2000 SP3 or Windows 2000 SP4, click Start, and then click Run.
  5. In the Open text box, type cmd, and then click OK.
  6. At the command prompt, type cd\, and then press ENTER.
  7. At the command prompt, type cd TempFolder, and then press ENTER.
  8. At the command prompt, type msiexec /i msxml.msi, and then press ENTER.
  9. In the Welcome to the MSXML 4.0 SP2 Parser and SDK Setup Wizard dialog box, click Next.
  10. In the End-User License Agreement dialog box, click to select the I accept the terms in the License Agreement option, and then click Next.
  11. In the Customer Information dialog box, click Next.
  12. In the Choose Setup Type dialog box, click to select the Install Now option.
  13. Click Finish to close the Completing the MSXML 4.0 SP2 Parser and SDK Setup Wizard dialog box.
  14. At the command prompt, type cd\, and then press ENTER.
  15. At the command prompt, type cd WINNT\System32, and then press ENTER.
  16. At the command prompt, type proxycfg.exe, and then press ENTER.

REFERENCES

For more information about WinHTTP, visit the following Microsoft Developer Network (MSDN) Web site: For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

823193 INFO: How to get Windows HTTP 5.1 certificate and trace tools


Modification Type:MajorLast Reviewed:4/8/2004
Keywords:kbXML kbhttp kbbug KB829735 kbAudDeveloper