Event ID - 9011

Event Id9011
SourceMicrosoft-Windows-IIS-APPHOSTSVC
DescriptionThe directory specified for the root history directory is a UNC path, which is not allowed. The feature will be disabled. To resolve this issue, please set it to a local directory. The feature will be enabled again if the configuration is correct. The data field contains the error number.
Event Information According to Microsoft :

Cause :

This event is logged when the directory specified for the root history directory is a UNC path, which is not allowed.

Resolution :

Configure the history directory to point to a local path

The configuration history folder must be set to a local path on a local hard disk; it cannot be set to a UNC path. To reconfigure the history directory to a local path, back up the ApplicationHost.config file, then change the history directory path.

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

Back up the ApplicationHost.config file

To back up the ApplicationHost.config file:
  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 cd %Windir%\system32\inetsrv .
  3. Type appcmd add backup backupName to back up the ApplicationHost.config file.
    A directory with the backup name that you specify will be created under the %Windir%\system32\inetsrv\backup directory . If you do not specify a name, appcmd will generate a directory name automatically using the current date and time.
Change the history directory path

To change the history directory path:
  1. At an elevated Command Prompt window, type cd %Windir%\system32\inetsrv\config .
  2. Type notepad ApplicationHost.config .
  3. In notepad, search for the configHistory section under the system.applicationHost section.
  4. Find the path attribute and note its value.
  5. Change the value to correspond to a path on a local physical hard disk. The default path for this attribute is %SystemDrive%\inetpub\history .
  6. Save and close the ApplicationHost.config file.
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 9011 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.