Event ID - 9009

Event Id9009
SourceMicrosoft-Windows-IIS-APPHOSTSVC
DescriptionThe Application Host Helper Service encountered an error trying to delete the history directory '%1'. The directory will be skipped and ignored. Note that the directory may still get deleted in the future if the service restarts. The data field contains the error number.
Event Information According to Microsoft :

Cause :

This event is logged when the Application Host Helper Service encountered an error trying to delete the history directory.

Resolution :

Stop and restart AppHostSvc

If the Application Host Helper Service (AppHostSvc) cannot delete a history directory, it will try to do so the next time that the service starts. Normally you do not have to take any action when this occurs. However, if the problem persists, you can stop and restart the service manually.

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To stop and restart the Application Host Helper Service:
  1. Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  2. At the command prompt, type net stop apphostsvc.
  3. At the command prompt, type net start apphostsvc.
Verify :

To verify the configuration of the AppHostSvc configuration history backup feature, you can do the following:
  • Use notepad to examine the current configHistory section settings in the ApplicationHost.config file.
  • Use the Appcmd.exe command-line administration utility to view the configHistory section in the ApplicationHost.config file.
To perform these procedures, you must have membership in Administrators , or you must have been delegated the appropriate authority.

View the configHistory section by using notepad

To view the configHistory section by using notepad:
  1. Open an elevated Command Prompt window. Click Start , point to All Programs , click Accessories , right-click Command Prompt , and then click Run as administrator .
  2. Type cd %Windir%\system32\inetsrv\config .
  3. Type notepad ApplicationHost.config .
  4. In notepad, search for the configHistory section under system.applicationHost .
View the configHistory section by using Appcmd.exe

To view the configHistory section by using Appcmd.exe:
  1. Open an elevated Command Prompt window. Click Start , point to All Programs , click Accessories , right-click Command Prompt , and then click Run as administrator .
  2. Type cd %Windir%\system32\inetsrv .
  3. Type appcmd list config "Default Web Site" /section:configHistory /config:* . (This example uses the default Web site; replace the site name as necessary.)
Reference LinksEvent ID 9009 from Source Microsoft-Windows-IIS-APPHOSTSVC

Catch threats immediately

We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.