Microsoft KB Archive/922727

= Event ID: 7022 may be logged, and you may receive an error message when you try to start an IIS 5.0 service =

Article ID: 922727

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft Internet Information Services 5.0

-





SYMPTOMS
In Microsoft Internet Information Services (IIS) 5.0, you may receive an error message that resembles one of the following when you try to start an IIS 5.0 service:

Error message 1

Could not start the World Wide Web Publishing Service service on Local Computer. The service did not return a local error. This could be an internal windows error or an internal service error. If the problem persists contact the system administrator.

Error message 2

Could not start the Simple Mail Transport Protocol (SMTP) service on Local Computer. The service did not return a local error. This could be an internal windows error or an internal service error. If the problem persists contact the system administrator.

Error message 3

Could not start the FTP Publishing Service service on Local Computer. The service did not return a local error. This could be an internal windows error or an internal service error. If the problem persists contact the system administrator.

Additionally, an Error event that resembles one of the following may be logged when you restart the computer:

Event 1

Source: Service Control Manager

Type: Error

Event ID: 7022

Description:

The World Wide Web Publishing Service hung on startup.

Event 2

Source: Service Control Manager

Type: Error

Event ID: 7022

Description:

The Simple Mail Transport Protocol (SMTP) Service hung on startup.

Event 3

Source: Service Control Manager

Type: Error

Event ID: 7022

Description:

The FTP Publishing Service hung on startup.



CAUSE
This issue can occur if the current IIS 5.0 metabase cannot be read because of a problem with the machinekey that was used to encrypt sections of the Metabase.bin file. Problems with the machinekey can occur if one or more of the following conditions are true:
 * The Discretionary Access Control List (DACL) permissions on the machinekey file are incorrect.
 * The machinekey file was altered after it was used to encrypt the Metabase.bin file.
 * The machinekey file was deleted after it was used to encrypt the Metabase.bin file.



RESOLUTION
To resolve this issue, restore the IIS 5.0 metabase from a backup of the file or of the system.

Note The IIS 5.0 metabase (Metabase.bin) is located in the \System32\inetsrv folder.



MORE INFORMATION
Event ID 7022 may be logged if the encrypted sections of the Metabase.bin file cannot be read. This issue may occur if the permissions on the MachineKeys folder are not set correctly. For more information about how to set the permissions on the MachineKeys folder, click the following article number to view the article in the Microsoft Knowledge Base:

278381 Default permissions for the MachineKeys folders

