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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.