PingWebService Task consistently fails and writes an Exception in local Application Event Log

Version 1

    Verified Product Versions

    AppSense Environment Manager 8.4AppSense Environment Manager 8.3

    Introduction

    The PingWebservice task is configured to run at 01:05am each day by default. This task runs after the daily Personalization Server Aplication Pool has been recycled.

    You may find this task failing with the following error in the Application Event Log:

    Log Name: Application
    Source: AppSense Personalization Background Service
    Date: 16/04/2013 01:10:00
    Event ID: 0
    Task Category: None
    Level: Information
    Keywords: Classic
    User: N/A
    Computer: SERVERNAME
    Description:
    PingWebService exception: System.UnauthorizedAccessException: Filename: redirection.config
    Error: Cannot read configuration file due to insufficient permissions
    at Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.GetAdminSection(String bstrSectionName, String bstrSectionPath)
    at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath)
    at Microsoft.Web.Administration.ServerManager.get_SitesSection()
    at Microsoft.Web.Administration.ServerManager.get_Sites()
    at BgServiceIIS7API.IIS7.GetLocalPort(String applicationPath, String& scheme)
    at BackgroundService.PingWebService.GetStatusPageUrl()
    at BackgroundService.PingWebService.DoPing()

    Detail

    The Personalization Background Service Account is configured to run as Local System (Default Setting on Install).

    If the above is not the case, the Service may not have default permissions on "C:\Windows\System32\inetsrv\config\" (sub files/folders)

    This will cause this job to fail.

    To resolve the issue, either:

    1. Grant the given Service account read/execute/list contents NTFS permissions to C:\Windows\System32\inetsrv\config - subfiles/folders; OR
    2. Change the Service account to the default of Local System.