When running the OCS/Lync Servers and Users Gathering you receive the following erros.
The following error occurred during the processing of a given gathering: Object reference not set to an instance of an object..
Time Component HResult EventID
2011-08-14T20:00:13.7394842Z Internal Processing {e4ae5340-3285-4bcc-881a-e667070e4773}
The Database Schema was not updated when the latest version of the OCS/Lync report pack was installed.
1. Copy the file [Install Directory]\Report Packs\OCS\SQL\OCS.sql to your database server housing the MessageStats Database.
Default Location (C:\Program Files (x86)\Quest Software\MessageStats\Report Packs\OCS\SQL)
2. Log into to SQL Management Studio using an account with permission to modify the MessageStats Database.
3. Run the OCS.SQL script.
4. On the MessageStats server open the MessageStats console and delete the existing OCS\Lync server task.
6. Create a new gathering task for your OCS\Lync pool.
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center