Reports Time Out In PME Web Apps
Issue
When running reports, the report will timeout with an error:
"An error occurred while attempting to retrieve the data."
Product Line
Power Monitoring Expert 2022
Power Monitoring Expert 2023
Power Monitoring Expert 2024
Environment
Web Applications Reports
Management Console
Cause
Report querying is dependent on multiple factors (number of source measurement pairs, resources available to SQL, number of simultaneous sessions, etc). Some reports may require additional time than the standard 5 minutes.
Resolution 1
- Navigate to Management Console -> Tools -> Reports Configuration.
- Increase timeout seconds.
**Note that increasing timeout may cause reduced performance**
Resolution 2
Warning: Irreparable database damage can occur. This procedure should only be performed by users familiar with SQL Server Management Studio. Databases should be backed up prior to performing this procedure.
If the above does not work, the following locations can be edited to increase timeout.
SELECT TOP (1000) [Module]
,[Category]
,[Item]
,[Value]
,[DefaultValue]
FROM [ION_Network].[dbo].[vCFG_ConfigItems]
where item like '%timeout%'
Setting a maximum time of 1800 seconds (30 mins) for these fields may allow the report to complete. Please contact support prior to making these changes.