Microsoft KB Archive/929726

= FIX: Error message when you enumerate the cache in Windows Internet Explorer 7: &quot;ERROR_INVALID_PARAMETER&quot; =

Article ID: 929726

Article Last Modified on 11/15/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 you use a program to enumerate the cache in Windows Internet Explorer 7, you may receive an error message that resembles the following:

87 ERROR_INVALID_PARAMETER

This problem occurs if the following conditions are true:
 * You use the FindFirstUrlCacheEntryW API or the FindNextUrlCacheEntryW API to enumerate the cache.
 * The cache contains cookies that do not have the path attribute specified.



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.

A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Registry information
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 key:

 On the Edit menu, point to New, and then click Key. Type FEATURE_WININET_COOKIE_PARSE_PATH_KB929726, and then press ENTER. Click FEATURE_WININET_COOKIE_PARSE_PATH_KB929726. On the Edit menu, point to New, and then click DWORD Value. Type iexplore.exe, and then press ENTER.</li> Right-click iexplore.exe, and then click Modify.</li> Type 00000001 in the Value data box, 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.

Internet Explorer 7 on Microsoft Windows XP Service Pack 2
<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
The FindFirstUrlCacheEntryW API and the FindNextUrlCacheEntryW API are the Unicode versions of the following Microsoft Windows Internet (WinINet) API functions:
 * FindFirstUrlCacheEntry
 * FindNextUrlCacheEntry

This problem does not occur if you use the FindFirstUrlCacheEntryA API or the FindNextUrlCacheEntryA API to enumerate the cache in Internet Explorer 7. The FindFirstUrlCacheEntryA API and the FindNextUrlCacheEntryA API are the ANSI versions of the FindFirstUrlCacheEntry WinINet function and the FindNextUrlCacheEntry WinINet function.

<div class="references_section">