Microsoft KB Archive/931195

= FIX: Error message when an application tries to use Internet Explorer 7 to retrieve a proxy configuration script: &quot;1003 ERROR_CAN_NOT_COMPLETE&quot; =

Article ID: 931195

Article Last Modified on 8/29/2007

-

APPLIES TO


 * Windows Internet Explorer 7 for Windows Server 2003
 * Windows Internet Explorer 7 for Windows XP

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When an application tries to use the InternetGetProxyInfo Windows Internet (WinINet) API function of Windows Internet Explorer 7 to retrieve a proxy configuration script, the application may fail. Additionally, you may receive the following error message:

1003 ERROR_CAN_NOT_COMPLETE

This problem may occur when the application tries to retrieve the proxy configuration script for the first time. However, the application may succeed in retrieving the proxy configuration script on later requests.



CAUSE
This problem occurs because of a logic problem that causes the InternetGetProxyInfo function to fail the first time that it is called.



Security update information
To resolve this problem, install the most current cumulative security update for Internet Explorer. To install the most current updates, visit the following Microsoft Web site:

http://windowsupdate.microsoft.com

For more technical information about the most current cumulative security update for Internet Explorer, visit the following Microsoft Web site:

http://www.microsoft.com/technet/security/current.aspx

Note This fix was first included in security update 933566 (MS07-033). For more information, click the following article number to view the article in the Microsoft Knowledge Base:

933566 MS07-033: Cumulative Security Update for Internet Explorer

Hotfix information
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Prerequisites
To apply this hotfix, you must have Microsoft Windows Server 2003 Service Pack 1 (SP1) installed. For more information about how to obtain the latest service pack for Windows Server 2003, click the following article number to view the article in the Microsoft Knowledge Base:

889100 How to obtain the latest service pack for Windows Server 2003

Restart information
You must restart the computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

Registry information
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To enable this hotfix, you must modify the registry. To do this, follow these steps:  Click Start, click Run, type regedit, and then click OK. Locate and then click the following registry subkey:

Note If this subkey does not exist, create the subkey. To do this, follow these steps:  Locate and then click the following registry subkey:

 On the Edit menu, point to New, and then click Key. Type FEATURE_IEAUTOPROXY_SYNC_KB931195, and then press ENTER. </li> Click FEATURE_IEAUTOPROXY_SYNC_KB931195.</li> On the Edit menu, point to New, and then click DWORD Value.</li> Type the name of the application including the .exe extension, and then press ENTER. For example, type iexplore.exe as the name of the application for Internet Explorer to use this hotfix.</li> Right-click iexplore.exe, and then click Modify.</li> In the Value data box, type 1, and then click OK.</li> Exit Registry Editor.</li></ol>

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

The original release version of Windows Vista
<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in Internet Explorer 7.

<div class="moreinformation_section">

MORE INFORMATION
For more information about the InternetGetProxyInfo WinINet API function, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/library/aa383910.aspx

Additional query words: autoproxy URLDownloadToFile InternetInitializeAutoProxyDll

Keywords: kberrmsg kbbug kbfix kbqfe kbpubtypekc atdownload kbhotfixserver KB931195

-

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

© Microsoft Corporation. All rights reserved.