Working in Web Farm and Web Garden architectures
To use the FastReport report generator in a multi-server (Web Farm) or multi-processor (Web Garden) architecture there are additional requirements for creating special storage for data synchronization between WebReport objects.
Add the following lines to the configuration file web.config
:
<appSettings>
<add key="FastReportStoragePath" value="\\FS\WebReport_Exchange"/>
<add key="FastReportStorageTimeout" value="10"/>
<add key="FastReportStorageCleanup" value="1"/>
</appSettings>
FastReportStoragePath
- path to the folder for temporary files when working in a multi-server architecture, each server must have access to this folder;FastReportStorageTimeout
- cache time for reports, in minutes;FastReportStorageCleanup
- time for checking the expired cache entries, in minutes.
Check for correct configuration by means of the URL:
http://yoursite/app_folder/FastReport.Export.axd
You should see Cluster mode: ON
.