BUG: "WinHTTP5.dll Could Not Be Found" error message when you run Proxycfg.exe after you install MSXML 4.0 SP2

Article translations Article translations
Article ID: 829735
Expand all | Collapse all

On This Page

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

For more information about a resolution for problems related to the Proxycfg.exe tool, click the following article number to view the article in the Microsoft Knowledge Base:
830605 The Proxycfg.exe configuration tool is available for WinHTTP 5.1

Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

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:
    Collapse this imageExpand this image
    Download
    Download the MSXML 4.0 SP2 package now. Release Date: June 2, 2003

    For more 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 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:
http://msdn2.microsoft.com/en-us/library/aa384276.aspx
For more 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

Properties

Article ID: 829735 - Last Review: June 20, 2014 - Revision: 4.0
Keywords: 
kbxml kbhttp KB829735

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