JS Viewer Report Loading Slowly

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

    • Post Options:
    • Link

    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?

  • Posted 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

  • Posted 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

  • Posted 27 December 2020, 2:30 pm EST

    Hello,

    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:

    https://www.grapecity.com/forums/ar-dev/customstore-method-called-

    Again, sorry for the all trouble you have faced.

    Thanks,

    Mohit

  • Posted 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.

  • Posted 4 January 2021, 2:42 pm EST

    Hello,

    I am glad that your issue has been resolved now.

    Thanks,

    Mohit

Need extra support?

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

Learn More

Forum Channels