FastReport.Export

I have a fast report that displays in a web page using WebReport. I am able to preview the report but when I click the Save to export or Print icon, I get the error message HTTP 404 The Resource FartReport.Export.aspx not found. I have <add path="FastReport.Export.aspx" verb="*" type="FastReport.Web.Handlers.WebExport"/> in the web.config file. Is there anything extra I have to do the export the report.

Comments

  • edited March 2018
    in system.web node, add:
    <httpHandlers>
    <add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
    </httpHandlers>

    in system.webserver node, add:
    <handlers>
    <add name="FastReportHandler" path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
    </handlers>


    FastReport.Export.axd, not FastReport.Export.aspx
  • edited March 2018
    ipong wrote: »
    in system.web node, add:
    <httpHandlers>
    <add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
    </httpHandlers>

    in system.webserver node, add:
    <handlers>
    <add name="FastReportHandler" path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
    </handlers>


    FastReport.Export.axd, not FastReport.Export.aspx


    Thanks. When I change it, It displays the message below. I am using version 1.7.1.0. with .Net Framework 4.5


    System.Exception: 'FastReport handler not found. Please modify your web.config:
    IIS6
    <system.web>
    ...
    <httpHandlers>
    <add path="FastReport.Export.aspx" verb="*" type="FastReport.Web.Handlers.WebExport"/>
    ....
    </httpHandlers>
    </system.web>
    IIS7
    <configuration>
    ...
    <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    ...
    <handlers>
    ...
    <remove name="FastReportHandler"/>
    <add name="FastReportHandler" path="FastReport.Export.aspx" verb="*" type="FastReport.Web.Handlers.WebExport" />
    </handlers>
    </system.webServer>
    </configuration>'

Leave a Comment