Events are not Uploading to the AMC, Event ID 9755 logged in the endpoint Application event logs

Version 1

    Verified Product Versions

    Management Center 8.7Management Center 8.6Management Center 8.5Management Center 8.4Management Center 8.3Management Center 8.2Management Center 8.1Management Center 8.0

    Introduction

    No endpoint events are being transferred to the AppSense Management Server (AMS), the endpoints show event id 9755 raised in the local machine Application Event Log.  

    When you run Diagnostics on an Endpoint from the AMC, the "Upload of Events" may fail with the error:

    "The system cannot find the path specified."

    OR

    "Upload of events Failed with error Access is denied."

    Within the web site virtual directory for the Management Server, the BITS-Sessions folder is created by IIS (rather than the AppSense Installation).  When the BITS Server extension is enabled, the following folder structure is created:

    \Management Center\Server\Web Site\Deployment\Events\BITS-Sessions

    -----------------CleanupGUIDS

    -----------------Replies

    -----------------Requests

     

    Detail

    If any of these folders/subfolders are deleted, recreated or renamed manually, then the BITS-Transfers will fail with "The system cannot find the path specified.".

    If any of the default permissions are changed for the Events folder (\Management Center\Server\Web Site\Deployment\Events) and sub-folders, then the BITS-Transfers will fail with "Upload of events Failed with error Access is denied."

    For example: The BITS session files are created by the IUSR account (Anonymous Authentication) with which the Deployment application is configured by default;

     




    If the default CREATOR OWNER permissions are removed from the Events folder and sub-folders,  the IUSR account will have only Read/Write access to BITS session files created there;



    This will mean that the BITS session files will fail to be deleted, leading to "Access Denied" failed Event uploads, and also potentially creating a disk space issue on the system given enough time.

    The above is true for all IIS WebSites utilising BITS, it is not specifically an AppSense issue.

    To resolve the issue caused by an incorrect folder structure, recreate the default folders using the IIS Manager console;

    1. Navigate to the virtual directory within IIS that has the BITS extension enabled (Deployment - Events).
    2. Select 'BITS Uploads' and untick the option 'Allow clients to upload files' and select 'Apply' (if you are viewing the directory in Explorer, you should notice the BITS-SESSION directory dissapear at this point)
    3. Re-select the above option and select 'Apply'
    4. The BITS-SESSION folder structure will now be recreated

    To resolve the issue caused by incorrect permissions, edit the permissions from the IIS Manager console;

    1. Navigate to the virtual directory within IIS that has the BITS extension enabled (Deployment - Events).
    2. Right-click the Events folder and select 'Edit permissions'
    3. Ensure either the CREATOR OWNER or IUSR accounts have Read/Write/Delete permissions to this folder and sub-folders