Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Error message when you enumerate the cache in Windows Internet Explorer 7: "ERROR_INVALID_PARAMETER"


View products that this article applies to.

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.

↑ Back to the top


Resolution

Hotfix information

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756� How to back up and restore the registry in Windows


A supported hotfix is 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 software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if 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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Registry information

To enable this hotfix, you must modify the registry. To do this, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl
  3. On the Edit menu, point to New, and then click Key.
  4. Type FEATURE_WININET_COOKIE_PARSE_PATH_KB929726, and then press ENTER.
  5. Click FEATURE_WININET_COOKIE_PARSE_PATH_KB929726.
  6. On the Edit menu, point to New, and then click DWORD Value.
  7. Type iexplore.exe, and then press ENTER.
  8. Right-click iexplore.exe, and then click Modify.
  9. Type 00000001 in the Value data box, and then click OK.
  10. Exit Registry Editor.

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 Server 2003
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
Wininet.dll7.0.6000.20512822,78411-Jan-200702:42
Updspapi.dll6.2.29.0371,42416-Nov-200621:10
Internet Explorer 7 on Microsoft Windows XP Service Pack 2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
Wininet.dll7.0.6000.20512822,78416-Jan-200718:52
Updspapi.dll6.2.29.0371,42416-Nov-200621:10

↑ Back to the top


Status

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

↑ Back to the top


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.

↑ Back to the top


References

For more information about the FindFirstUrlCacheEntry WinINet function, visit the following Microsoft Developer Network (MSDN) Web site:For more information about the FindNextUrlCacheEntry WinINet function, visit the following MSDN Web site: For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684� Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: KB929726, kbbug, kberrmsg, kbpubtypekc, kbfix, kbqfe, kbhotfixserver, kbautohotfix

↑ Back to the top

Article Info
Article ID : 929726
Revision : 6
Created on : 11/15/2007
Published on : 11/15/2007
Exists online : False
Views : 328