JS Viewer Report Loading Slowly

Posted by: dellis on 27 December 2020, 10:46 am EST

  • Posted 27 December 2020, 10:46 am EST

    I'm loading a report in JSViewer that has numerous sub-reports, however, when I run the report in the Designer it loads quickly. If I also run the report using Visual Studio via IIS express in my MVC application, it loads quickly. However, if I deploy my application to my production environment it loads slowly when connected to IIS10.

    I'm using the exact same infrastructure in Dev as in Prod, with the exception of IIS. The difference in the load times are:

    3 seconds - Dev
    6-8 mins - Prod

    If there anything that ActiveReports relies on within IIS that should be configured?
  • Replied 27 December 2020, 12:23 pm EST

    This is like my third major issue with this application, I'm really tired and it feels like a complete waste of my money
  • Replied 27 December 2020, 12:44 pm EST

    Also, when I check my developer tools within Chrome.. I'm seeing that the api/reporting service is making 80+ requests to the server, and the report it loading staggered, page by page, slowly. This does not happen in Dev and those request amount to about 2-4
  • Replied 27 December 2020, 2:30 pm EST


    I am really sorry for the inconvenience caused to you. Could you please share the code snippet which demonstrates that how you are loading the report in the Jsviewer. Are you using the UseCustomStore method?
    Also, have you tried the suggestion given in the following link:

    Again, sorry for the all trouble you have faced.

  • Replied 4 January 2021, 3:57 am EST

    Hi Mohit,

    I solved this issue when I was in the process of packaging my solution to send to you.
    The issue was when I posted the app to production, I had a JSON data source to store the base URL for image files used in the report. On the development machine the JSON information is different from Prod, thus, when in production the report performed slowly as I assume the report was looking for images on my development server based on the development URL.

    Thanks much for the assistance, your prompt responses is greatly appreciated.
  • Replied 4 January 2021, 2:42 pm EST


    I am glad that your issue has been resolved now.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels