文檔半島外圍網上直營>>FastReport中文文檔>>在 Web Farm 和 Web Garden 架構中工作
                在 Web Farm 和 Web Garden 架構中工作
要在多服務器(Web Farm)或多處理器(Web Garden)架構中使用 FastReport 報告生成器,還需要為 WebReport 對象之間的數據同步創建特殊存儲。
在配置文件 web.config 中添加以下幾行:
  <appSettings>
    <add key="FastReportStoragePath" value="\\FS\WebReport_Exchange"/>
    <add key="FastReportStorageTimeout" value="10"/>
    <add key="FastReportStorageCleanup" value="1"/>
  </appSettings>
	點擊復制
	
- FastReportStoragePath:在多服務器架構下工作時,臨時文件文件夾的路徑,每臺服務器都必須能訪問該文件夾
- FastReportStorageTimeout:報告緩存時間,以分鐘為單位
- FastReportStorageCleanup:檢查過期緩存項的時間,以分鐘為單位
//yoursite/app_folder/FastReport.Export.axd
您應該看到 "群集模式:開啟"。
如需下載fastreport最新試用版,請點產品名跳轉產品下載頁>>

 QQ交談
QQ交談 在線咨詢
在線咨詢 
                 
                
 渝公網安備
            50010702500608號
渝公網安備
            50010702500608號
             
            
 客服熱線
客服熱線