You receive an Event ID 1131 error message when you try to add a Web site (824033)



The information in this article applies to:

  • Microsoft Internet Information Services version 6.0



Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit 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 try to add a new Web site in Microsoft Internet Information Services (IIS) by using the IIS Manager, the Web site is not added, and you may receive the following error message:
No more memory is available for security information updates.
The following event ID error message may also be logged in the event viewer:Event Type: Error
Event Source: W3SVC
Event Category: None
Event ID: 1131
Date: 2003/07/20
Time: 04:18:29 AM
User: N/A
Computer: ComputerName
Description: Cannot register the URL prefix 'http://<serverIP>/' for site '<siteinstance>'. Too many listening ports have been configured in HTTP.sys. The site has been deactivated. The data field contains the error number.

CAUSE

This problem occurs because sufficient non-paged pool memory has not been allocated for Http.sys. Microsoft Windows Server 2003 does not include the MaxEndPoints registry setting in the HKey_Local_Machine\System\CurrentControlSet\Services\HTTP\Parameters registry key. Therefore, the physical memory is evaluated to determine the non-paged pool memory. For example, on a computer that has 64 megabytes (MB), the non-paged pool memory value is set to 16. On a computer that has 256 MB, the non-paged pool memory value is set to 64.

RESOLUTION

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this problem, set the MaxEndPoints registry setting to a value that is greater than the number of Web sites that are hosted by IIS. Follow these steps, and then quit Registry Editor:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following key in the registry:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters

  3. On the Edit menu, point to New, and then click DWORD.
  4. Type MaxEndPoints, and then press ENTER.
  5. On the Edit menu, click Modify.
  6. Type a value that is greater than the number of Web sites that are hosted by IIS, and then click OK.
Note Use the following information to select a value in step 6:
  • Values: 0-1024 (Decimal)
  • Default: No registry key exists and the default MaxEndPoints registry setting is equal to 0.
  • Value set greater than 1024: Accepted but reverts to default settings (as if there is no registry key)
Note After you set the MaxEndPoints registry setting and quit Registry Editor, you must do the following:
  1. Click Start, click Run, type cmd, and then click OK.
  2. At the command prompt, type the following, and then press ENTER:

    net stop http

  3. At the command prompt, type the following, and then press ENTER:

    net start http


Modification Type:MajorLast Reviewed:7/23/2004
Keywords:kbAppServices kbWebServer kbWebServices kbprb kbfix KB824033 kbAudDeveloper