文檔半島外圍網上直營>>FastReport中文文檔>>設置網絡處理程序
                設置網絡處理程序
WebReport 要求在 web.config 文件中設置特定的處理程序。在 Visual Studio 中創建報告對象時,必要的行會自動寫入配置文件。WebReport 組件會在應用程序運行時檢查指定配置的可用性。如果在 web.config 文件中找不到所需的行,就會出錯,要求更改文件。
與 IIS6 服務器一起使用時,web.config 文件應包含以下行:
<system.web>
…
<httpHandlers>
    <add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport"/>
</httpHandlers>
…
</system.web>
	點擊復制
<system.webServer>
…
<handlers>
    <add name="FastReportHandler" path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport"/>
</handlers>
…
</system.webServer>
	點擊復制
通過 URL 檢查 WebReport 處理程序是否正常工作:
//yoursite/app_folder/FastReport.Export.axd
信息消息會顯示 FastReport 的版本和服務器時間。
如需下載fastreport最新試用版,請點產品名跳轉產品下載頁>>

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