RPC Services Fail: Not Enough Resources Available to Complete This Operation

ID: Q246784


The information in this article applies to:
  • Microsoft Windows NT 4.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 start a computer running Microsoft Windows NT 4.0 (Service Pack 4), the network services that remote procedure call (RPC) enables may not start, and the following error message may appear:

Not enough resources are available to complete this operation.
The network services that may not start include, but are not limited to, the following:

  • Domain Name Service (DNS)
  • Dynamic Host Configuration Protocol (DHCP)
  • Windows Internet Naming Service (WINS)
  • World Wide Web (WWW) Publishing
  • File Transfer Protocol (FTP) Publishing
  • Network New Transfer Protocol (NNTP)
  • Simple Mail Transport Protocol (SMTP)
Also, the System log in Event Viewer may record Events 4156, 453, 1006, 1008, and 7023.


CAUSE

This behavior can occur when there is a hyphen in a port range in Dcomcnfg. The system adds a space before and after the hyphen when it writes the port range to the registry, making (for example) the range 4000-4010 appear as 4000 - 4010. RPC does not recognize this string format and responds to the RpcServerUseProtseq call with RPC_S_OUT_OF_RESOURCES.


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).

To work around this behavior, manually remove the extra spaces in the port range data:

  1. Use Registry Editor (Regedt32) to locate and select the following registry key:


  2. 
    HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\Internet\Ports 
  3. In the right pane, double-click the Ports value.


  4. Delete the spaces immediately before and after the hyphen in the port range.


  5. Quit Registry Editor.


  6. Restart the computer.


Additional query words: www wins dhcp ftp dns nntp smtp error fail start event 4156 453 1006 1008

Keywords : Event
Version : winnt:4.0
Platform : winnt
Issue type : kbprb


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