Active Reports v12 report not rendering when the report is disposed

Posted by: saravanakumar.selvaraj on 3 May 2019, 2:58 am EST

    • Post Options:
    • Link

    Posted 3 May 2019, 2:58 am EST

    In AR v7, the memory issue was fixed by disposing the objects in Page_Unload method.

    protected void Page_Unload(object sender, EventArgs e)

    {

    if (rpt != null)

    {

    rpt.Document.Dispose();

    rpt.Dispose();

    rpt = null;

    }

    }

    However, the same code gives two problems in AR v12.

    1. The report is not rendering. If the above code is removed it works fine.
    2. The report is still in memory.

    Any solution?

  • Posted 5 May 2019, 5:23 pm EST

    Hello,

    Could you please share the exact version of AR that you are using.

    Also, could you please try with the latest hotfix of AR12 as there are issues related to memory fixed in this and see if the issue is reproducible with the latest build.

    You can download the installer of the same from the following link:

    http://cdn.grapecity.com/hive.host/ActiveReports/ar12/hotfixes/ActiveReports-v12.2.16449.0.msi

    Thanks.

  • Posted 7 May 2019, 9:00 pm EST - Updated 30 September 2022, 8:44 am EST

    I used ActiveReports-v12.1.12924.0.

    The hotxfix ActiveReports-v12.2.16449.0 is also not helpful.

    Still the report is not rendering when the report is disposed in the Page_Unload and the object is still in memory.

    Attached the screenshots of the two issues.

  • Posted 7 May 2019, 9:58 pm EST

    This is not a working, acceptable answer. The hotfix does not fix this problem.

  • Posted 8 May 2019, 6:27 pm EST

    Hello,

    Sorry for the inconvenience caused. I have replied on S1 case 378251. Please continue the discussion on S1 to avoid the confusion.

    thanks.

Need extra support?

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

Learn More

Forum Channels