Error Message: Event ID 113: Web Proxy Cache Failed to Initialize the URL Cache on Disk

ID: Q242285


The information in this article applies to:
  • Microsoft Proxy Server version 2.0

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SYMPTOMS

When you are using Proxy Server 2.0 with Microsoft Internet Information Server (IIS) 4.0, you may receive one or more of the following error messages:

The Web proxy service disk cache utilization failed. You cannot configure the cache parameters.
Access Violation in Inetinfo.exe.
Event ID: 113. Web Proxy cache failed to initialize the URL cache on disk.


CAUSE

These error messages can occur for any of the following reasons:

  • The paths that reference the URL Cache folders may be incorrect or not present in the registry.


  • The URL Cache folder may have incorrect permissions.


  • The contents of the URL Cache folder may be corrupted.



RESOLUTION

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

You may need to perform one or all of the following steps to resolve this issue:

  1. Modify or correct the registry to refer to the correct location and path to the URL Cache folder and its subfolders:


    1. Using Regedt32.exe, go to the following registry location:


    2. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Pcache\Parameters\
    3. Add the Paths key by clicking Add Key on the Edit menu so that the following registry key exists:


    4. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Pcache\Parameters\Paths
    5. Add the following keys to the Paths key: Path1, Path2, Path3, Path4, and Path5. When you are done, the following keys should exist:


    6. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Pcache\Parameters\Paths\Path1

      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Pcache\Parameters\Paths\Path2

      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Pcache\Parameters\Paths\Path3

      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Pcache\Parameters\Paths\Path4

      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Pcache\Parameters\Paths\Path5
    7. Add the following values to the Path1, Path2, Path3, Path4, and Path5 keys by clicking Add Value on the Edit menu:


    8. CacheLimit:REG_DWORD:0x14

      CachePath:REG_SZ:C:\urlcache\dir1
    0x14 is hexadecimal for 20 and results in a 20-megabyte (MB) cache size for each folder. Adding 0x14 to each Path folder results in a 100-MB URL cache. Determine the size necessary for your cache limit, divide by 5, and use that value for each Path key.

    C:\Urlcache\Dir1 should reflect the actual path to your Urlcache\Dir1 folder. The Path1 key should contain the path to Dir1, Path2 should contain the path to Dir2, and so on through the Path5 key.

    NOTE: The recommended minimum cache allocation is at least 100 MB plus 0.5 MB for each Web Proxy client.

    If these keys already exist, correct the C:\Urlcache\Dir1 through C:\Urlcache\Dir1 paths if the value is incorrect for your installation of Proxy Server. To correct this value using Regedt32, double-click the value, type the correct path, and then click OK.

  2. Modify the permissions on the URL Cache folder and the root drive to allow the correct permissions to the URL cache:


    1. Use Windows Explorer to locate the drive containing the Urlcache folder. Right-click folder icon, and then click Properties. On the Security tab, click Permissions. Confirm the permissions and modify them if necessary so that at least the following permissions are given to the root of the drive containing the Urlcache folder:


    2. 
           Administrators     Full Control
           System             Full Control 
    3. Using Windows Explorer as indicated in the previous step, confirm that at least the following permissions are given to the Urlcache folder:


    4. 
           Administrators     Full Control
           System             Full Control
           Creator Owner      Full Control
           Everyone           Change 
    For additional information about the required NTFS permissions, click the article number below to view the article in the Microsoft Knowledge Base:
    Q235874 NTFS Permissions Required for Proxy Server 2.0
  3. Remove corrupted URL cache files:


    1. Stop the Web Proxy service. To do so:


      1. Click Start, point to Programs, point to Microsoft Proxy Server, and then click Microsoft Management Console.


      2. Click the plus sign (+) next to Internet Information Server to expand the list.


      3. Click the plus sign (+) next to your computer name.


      4. Right-click Web Proxy, and then click Stop.


    2. Using Windows Explorer, delete the contents of the Urlcache folder, including all subfolders. Do not delete the Urlcache folder itself.


    3. Start the Web Proxy service by right-clicking its icon in Microsoft Management Console, and then clicking Start.


Additional query words:

Keywords : kbenv kberrmsg
Version : winnt:2.0
Platform : winnt
Issue type : kbprb


Last Reviewed: December 2, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.