Summary
When creating a Scheduled and/or Manual reports in the TMCM web console, the following message appears:
Unsuccessful
However, the actual PDF report files are created under ...\Control Manager\WebUI\exports\OutputReports\ directory.
Details
This problem is caused by the default timeout settings of .NET. When the report generation time is over 3 minutes, the error below appears in ..\Trend Micro\Control Manager\DebugLog\UI_debug.log. This can occur in large environments (e.g. more than 200,000 OfficeScan clients). The workaround is to increase the timeout, which is applicable in large environments.
2013-07-05 16:37:28,902 3432969 [8] FATAL -
System.Threading.ThreadAbortException : Thread was being aborted. [0]
2013-07-05 16:37:28,914 3432981 [8] DEBUG - Return : Returning object in the pool [0]
2013-07-05 16:37:28,915 3432982 [8] DEBUG - Deactivate() [0]
2013-07-05 16:37:28,917 3432984 [8] DEBUG - Return: object deactivated and
returned in the pool free Object is 5 [0]
2013-07-05 16:37:28,918 3432985 [8] ERROR - [InstanceID = 8C2E152C-C253
4DB7-8D4F-D5E7EB9534D0] Error AdhocQueryReader is null [0]
2013-07-05 16:37:28,919 3432986 [8] ERROR - [InstanceID = 8C2E152C-C253
4DB7-8D4F-D5E7EB9534D0] Error occurred while executed query [0]
System.Threading.ThreadAbortException: Thread was being aborted.
System.Threading.ThreadAbortException : Thread was being aborted. [0]
2013-07-05 16:37:28,914 3432981 [8] DEBUG - Return : Returning object in the pool [0]
2013-07-05 16:37:28,915 3432982 [8] DEBUG - Deactivate() [0]
2013-07-05 16:37:28,917 3432984 [8] DEBUG - Return: object deactivated and
returned in the pool free Object is 5 [0]
2013-07-05 16:37:28,918 3432985 [8] ERROR - [InstanceID = 8C2E152C-C253
4DB7-8D4F-D5E7EB9534D0] Error AdhocQueryReader is null [0]
2013-07-05 16:37:28,919 3432986 [8] ERROR - [InstanceID = 8C2E152C-C253
4DB7-8D4F-D5E7EB9534D0] Error occurred while executed query [0]
System.Threading.ThreadAbortException: Thread was being aborted.
To resolve this:
- Stop WWW Publishing service.
- Backup the ..\Control Manager\WebUI\WebApp\web.config file.
- Open the web.config file under ...\Control Manager\WebUI\WebApp\ folder.
- Add the following parameters above the "</system.web>" keyword: <httpRuntime executionTimeout="3600">
</httpRuntime>Make sure to match the XML format as shown in the screenshot below: - Restart the Trend Micro Control Manager Service.
- Start the World Wide Web Services.
- Login and generate the report.