We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

Report slow in IISRSS

1 reply

Last post Jul 22, 2018 05:59 PM by lextm

  • Report slow in IIS

    Jul 22, 2018 03:29 AM|john--chen|LINK

    We migrated from Windows Server 2008 (R2) to Windows Server 2016. We got new version of IIS that come with it (don't thing it matters in my issue). IIS version is 10.0.14393.0.

    We have a report that is very slow when running in IIS. We have identified where it happens. It is in the report's Render method.

    it takes less than 30 second calling the Render() in a standalone Windows App.

    but it takes more than 3 minutes for the same thing.

    Note, we design the report using SSRS but we only use the .rdlc in C#. using Microsoft.Reporting.WinForms' LocalReport class.

    Anyone idea what can be the problem.

    Thanks,

    John

  • Re: Report slow in IIS

    Jul 22, 2018 05:59 PM|lextm|LINK

    john--chen

    Note, we design the report using SSRS but we only use the .rdlc in C#. using Microsoft.Reporting.WinForms' LocalReport class.

    Your instinct should lead you to Microsoft.Reporting.WebForms,

    https://msdn.microsoft.com/en-us/library/microsoft.reporting.webforms.aspx

    WinForms is definitely the wrong thing to use in a web app on IIS.

    Lex Li
    Want to have a chat on the issues you meet? Book an appointment at https://buy.stripe.com/cN24ia0yi7sAdIA7sv
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.