In this article:
Issue description
Prerequisites
Possible causes
Resolution
Related topics and articles
When and how to contact support
Issue description
In ADAudit Plus, scheduled reports may sometimes display the error message "Error during previous run" under LAST SCHEDULE STATUS. This indicates that the scheduled report did not execute successfully due to underlying issues with report storage, mail configuration, or data retrieval.
Prerequisites
The ADAudit Plus service account has full control over all Scheduled Reports folders.
The mail server settings in the application are correctly configured.
The storage location for scheduled reports is accessible and has sufficient space.
The service account has the necessary permissions to write to the temporary export location (for XLS format reports).
Possible causes
The configured storage path for scheduled reports may be inaccessible or no longer available, preventing the system from saving reports.
The ADAudit Plus service account may not have the necessary permissions to access or modify the Scheduled Reports folder.
The mail server settings in ADAudit Plus may be incorrect, preventing scheduled reports from being emailed successfully.
The email addresses configured in the Modify Scheduled Report page may be invalid or incorrectly formatted, causing email delivery failures.
One or more reports included in the schedule may be encountering execution errors, preventing the scheduled report from running successfully.
The ADAudit Plus service account may lack the required permissions to write to the temporary directory, leading to failures when exporting reports in XLS format.
Scheduled reports may fail due to corrupt report index data, causing the error "Query exception occurred in background" (Lucene codec header mismatch).
The Modify Scheduled Report page may become unresponsive or stuck in the loading phase due to scheduler service failures caused by database inconsistencies or missing storage paths after a server migration.
Scheduled reports set to export in XLS format may fail if ADAudit Plus lacks the necessary write permissions for the C:\Windows\Temp directory or the configured Java temp directory.
Resolution
Step 1: Verify scheduled reports storage and permissions
Ensure the ADAudit Plus service account has full control over all Scheduled Reports folders.
Confirm that the configured storage path in the Modify Scheduled Report page is accessible and has enough disk space.
If the storage path is incorrect or unavailable, update the location manually (see Step 5 for detailed instructions).
Step 2: Check mail configuration and email addresses
Navigate to Admin > General Settings > Server Settings and click Test Mail.
If the test mail fails, verify the mail server settings.
If successful, review the email addresses configured in the Modify Scheduled Report page.
Ensure there are no unnecessary spaces in multiple email addresses.
Step 3: Identify issues in the selected reports
Open Modify Scheduled Report and check the selected reports.
Verify whether each report is accessible within the ADAudit Plus UI.
If you encounter any issues accessing or loading reports in the UI, please contact support!
Step 4: Troubleshoot query exceptions
If you see the error "Query exception occurred in background" in the logs, check for:
Sample Exception in serverOut.txt:
The serverOut log file is located at: <installation_directory>/logs
Open the most recent file (sorted by date modified).
[ERROR] [dataengine[keepAlive/DE-XNode_1201]] : EXCEPTION while loading Main-Block : null :: codec header mismatch: actual header=0 vs expected header=1071082519
If this exception appears, please reach out to support!
Step 5: Resolving issues with unavailable storage paths (Post-Migration)
If the Modify Scheduled Report page fails to load after server migration, please reach out to support!
Step 6: XLS format reports fail due to permission issues
If XLS is selected as the export format, ADAudit Plus creates a temp file in C:\Windows\Temp. The service account may not have permission to write to this location.
Verify Permissions on C:\Windows\Temp
Navigate to C:\Windows\Temp.
Right-click the folder and select Properties > Security.
Ensure that the ADAudit Plus service account has Full Control.
Change Java Temp Directory Path (Alternative Fix)
Navigate to <installation_directory>\ADAudit Plus\conf.
Edit wrapper.conf (backup before editing).
Find the line with -Djava.io.tmpdir.
Change the value to:
-Djava.io.tmpdir=../temp
Save the file and restart the ManageEngine ADAudit Plus service.
Related topics and articles
How to contact support
If the issue persists, contact our support team here.