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
After you restart your server that is running Internet Information Server (IIS) 4.0 or Internet Information Services (IIS) 5.0, services such as the World Wide Web Publishing Service, the Simple Mail Transfer Protocol (SMTP) Service, and the FTP Publishing Service may not start. In your Event Viewer system log, you may see a corresponding error message similar to the following for each service that did not successfully start:
Event ID: 7023
Source: Service Control Manager
The World Wide Web Publishing Service service terminated with the following error:
Not enough resources are available to complete this operation.
-or-
Event ID: 7023
Source: Service Control Manager
The World Wide Web Publishing Service service terminated with the following error: The parameter is incorrect.
-or-
Event ID: 7023
Source: Service Control Manager
The Simple Mail Transport Protocol (SMTP) service terminated with the following error:
Not enough resources are available to complete this operation.
-or-
Event ID: 7023
Source: Service Control Manager
The Simple Mail Transport Protocol (SMTP) service terminated with the following error: The parameter is incorrect.
-or-
Event ID: 7023
Source: Service Control Manager
The FTP Publishing Service service terminated with the following error:
Not enough resources are available to complete this operation.
-or-
Event ID: 7023
Source: Service Control Manager
The FTP Publishing Service service terminated with the following error: The parameter is incorrect.
If you try to manually start the service from the Services applet in Administrative Tools, you may receive one of the following error messages:
Could not start the World Wide Web Publishing Service service on Local Computer.
Error 1721: Not enough resources are available to complete this operation.
-or-
Could not start the Simple Mail Transport Protocol(SMTP) service on Local Computer.
Error 1721: Not enough resources are available to complete this operation.
-or-
Could not start the FTP Publishing Service service on Local Computer.
Error 1721: Not enough resources are available to complete this operation.
If you try to start the services from the command prompt, you receive one of the following error messages:
C:\> net start w3svc
The World Wide Web Publishing Service service is starting.
The World Wide Web Publishing Service service could not be started.
A system error has occurred.
System error 1721 has occurred.
Not enough resources are available to complete this operation.
-or-
C:\> net start msftpsvc
The FTP Publishing Service service is starting.
The FTP Publishing Service service could not be started.
A system error has occurred.
System error 1721 has occurred.
Not enough resources are available to complete this operation.
-or-
C:\> net start smtpsvc
The Simple Mail Transport Protocol (SMTP) service is starting.
The Simple Mail Transport Protocol (SMTP) service could not be started.
A system error has occurred.
System error 1721 has occurred.
Not enough resources are available to complete this operation.
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.
If you do not have to specify which ports MSDTC uses, you can resolve this problem by deleting the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\Internet
- Click Start, click Run, type regedt32 in the Open box, and then click OK. This starts Registry Editor.
- In Registry Editor, expand HKEY_LOCAL_MACHINE.
- Under HKEY_LOCAL_MACHINE, double-click Software, double-click Microsoft, and then double-click Rpc.
- Under RPC, select Internet.
- On the Edit menu, click Delete to delete the key.
- On the File menu, click Exit to close Registry Editor.
- Click Start, and then click Shut Down. Select Restart in the list, and then click OK to restart the computer.
If you must control which ports MSDTC dynamically allocates for incoming communication, you must increase the number of ports that are specified under that registry key:
- Click Start, click Run, type regedt32 in the Open box, and then click OK. This starts Registry Editor.
- In Registry Editor, expand HKEY_LOCAL_MACHINE.
- Under HKEY_LOCAL_MACHINE, double-click Software, double-click Microsoft, and then double-click Rpc.
- Under RPC, select Internet.
- In the right pane, double-click Ports.
- In the Multi-String Editor dialog box, increase the range of specified ports. For example, if the current range is from 10000-15000, which allocates 5,000 ports, you can change the range to 10000-20000 to allocate 10,000 ports.For additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
250367 INFO: Configuring Microsoft Distributed Transaction Coordinator (DTC) to Work Through a Firewall
- On the File menu, click Exit to close Registry Editor.
- Click Start, and then click Shut Down. Select Restart in the list, and then click OK to restart the computer.