Report don't load

Webreport is don't load on ie and firefox browser ( like on attachment). I have set WebMode = true. Another computer is OK. Where is the problem?

Comments

  • edited 2:39AM
    try to debug in firefox, i believe there is an error in XHR request
  • edited 2:39AM
    I don't get any request . In debug i look ProcessRequest(HttpContext context) function dont' run. Where the problem is?
  • edited January 2017
    the mechanism of fastreport web is :
    1. returning html which contains anitmated progress picture and a syntax to call webservice via ajax/xhr script, to enable calling webservice, you need to attach :
    (note: MVC Razor style)
    @WebReportGlobals.Scripts()
    @WebReportGlobals.Styles()

    2. in web.config, you must set webhandler to enable webservice
    in system.web section:
    <httpHandlers>
    <add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
    </httpHandlers>

    in system.webserver section:
    <handlers>
    <add name="FastReportHandler" path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
    </handlers>
  • edited 2:39AM
    I have it all. On my computer works properly. On another dont' work (another server , the same application). Maybe IIS configuration is not properly.
  • edited January 2017
    double check the IIS installation features from the control panel (Programs and Features -> Turn Windows Features on and off -> Internet Information Services -> World Wide Web Services -> Application Development Features).

    and

    application pool in IIS Manager, another reference : https://msdn.microsoft.com/en-us/library/aa560277.aspx
  • edited 2:39AM
    Maybe limit requests on IIS for FastReportHandlar ?
  • edited 2:39AM
    Interesting.....are you using Web Farm and Web Garden architectures?

    from documentation :
    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.
  • edited 2:39AM
    I know where is the problem. When is set application pool on 'Classic' mode , FastReportHandler isn't set on IIS in mapping service( isn't read from web.config ).
    It have to be 'Integrated' mode. But why isn't work on 'Classic' mode?
  • edited 2:39AM
    Read this : https://blogs.msdn.microsoft.com/tmarq/2007...-preconditions/

    IIS uses http handlers from both <system.web><httpHandlers> and <system.webServer><handlers>.

    The solution is add precondition: integratedMode, therefore, if you use 'classic mode', IIS will not use handler with precondition 'integratedMode'
      <system.webServer>
        <handlers>
          <add name="FastReportHandler" path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" preCondition="integratedMode,runtimeVersionv4.0" />
        </handlers>
      </system.webServer>
    
  • edited 2:39AM
    You have right. It's work. I had to be added <validation validateIntegratedModeConfiguration="true" /> in 'classic mode' .
    <system.webServer>
        <handlers>
          <add name="FastReportHandler" path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" preCondition="integratedMode,runtimeVersionv4.0"/>
        </handlers>
        <validation validateIntegratedModeConfiguration="true" />
      </system.webServer>
    

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.