AppSense Servers report error 500 on Windows Server 2008 after upgrading to Windows Server 2008 SP2

Version 1

    Verified Product Versions

    AppSense Environment Manager 8.0AppSense Management Center 8.0AppSense Performance Manager 8.0

    Introduction

    After upgrading to Windows Server 2008 SP2, any attempts to contact the Management Server, Personalization Server or PM Central Stats will result in the following error:

    HTTP Error 500.19 - Internal Server Error

    Absolute physical path "C:\inetpub\custerr" is not allowed in system.webServer/httpErrors section in web.config file. Use relative path instead.


    Note: This only effects 8.0 releases prior to SP2.

    Detail

    In Windows Server 2008 SP2, Microsoft introduced a security policy which forces all web application settings to use relative instead of absolute paths. The Management Server, Personalization Server and PM Central Stats configuration files all contain absolute paths.

    The issue can be resolved by either upgrading the AppSense Server to a minimum of 8.0 SP2, or by following these steps.

    - Edit the web.config from the following directories;
    %PROGRAMFILES%\AppSense\Management Center\Server\Web Site - (Allows the console to connect)
    %PROGRAMFILES%\AppSense\Management Center\Server\Web Site\Deployment - (Allows the CCA to Connect)
    %PROGRAMFILES%\AppSense\Management Center\Server\Web Site\Deployment\Events - (Allows Events to be uploaded to the AMS)
    %PROGRAMFILES%\AppSense\Management Center\Server\Web Site\Deployment\Packages - (Allows BITS to connect to the AMS)
    %PROGRAMFILES%\AppSense\Management Center\Server\Web Site\Downloads - (Allows BITS to download from the AMS)

    - Open the web.config file in a text editor, remove the entire 'httpErrors' XML element and save the file. This will involve removing the following content which has been shortened for clarity:

    < httpErrors >
    < clear / >
    < error statusCode="401" subStatusCode="0" prefixLanguageFilePath="%SystemDrive%\inetpub\custerr" path="401.htm" responseMode="File" / >
    ...
    < error statusCode="502" subStatusCode="0" prefixLanguageFilePath="%SystemDrive%\inetpub\custerr" path="502.htm" responseMode="File" / >
    < /httpErrors >

    Warning

    Do not edit the web.config from the following directories;


    %PROGRAMFILES%\AppSense\Environment Manager\Personalization Server
    %PROGRAMFILES%\AppSense\Performance Manager\Central Statistics\Incoming

    The Error Status code definition is required in each product.