HTML5 ReportViewer - Works in localhost with SQL storage

3 posts, 0 answers
  1. Jon
    Jon avatar
    1 posts
    Member since:
    Jul 2017

    Posted 12 Sep 2017 Link to this post

    Any suggestions on how to figure out why a report will never finish processing when deployed to a web farm, but works great on my local machine?

    When the c# web app with the Telerik REST service setup with it runs on the web server there are no errors displayed. In Fiddler the ReportViewer keeps waiting for the report to finish processing and just returns the 202 Accepted response nonstop. On my localhost it will return 200 OK and render the report catalog properly.

    GET  /api/reports/clients/{clientId}/instances/{instanceId}/documents/{documentId}/info

    http://docs.telerik.com/reporting/telerik-reporting-rest-documents-api-get-document-info

    http://docs.telerik.com/reporting/t-telerik-reporting-cache-mssqlserverstorage

     

  2. Lucas Boshoff-James
    Lucas Boshoff-James avatar
    5 posts
    Member since:
    Sep 2009

    Posted 29 Jan 2018 Link to this post

    I have this exact problem.  It also seems to be intermittent, or perhaps breaks only on some deployments.  Very frustrating.  Has anyone found a solution?
  3. Lucas Boshoff-James
    Lucas Boshoff-James avatar
    5 posts
    Member since:
    Sep 2009

    Posted 29 Jan 2018 in reply to Jon Link to this post

    I just solved this on my own production servers. In my case ther reports did indeed render but took up to about 5 minutes, and always showed broken images. In my case the problem wasn't so much the sql server, it was the photobox's on the reports.  The url provided to them was correct and did resolve from outside.  By adding an entry to my host file for the internal ip of the site I host my images with, the problem was fixed and the reports now render instantly (with working images).  Hope this helps, it had me stumped for a long time.
Back to Top