Unable to open upgraded report in designer

Posted by: christopher.wuertz on 10 May 2021, 8:35 am EST

  • Posted 10 May 2021, 8:35 am EST

    I'm working on a solution that was created using ActiveReports 3.0 that has 20-30 Report-from-code (no rpx files). I used the ActiveReports 15 upgrade tool in Visual Studio (2017) and it completed successfully. I've successfully resolved any reference issues or changed methods and the project will build fine.

    However when I try to open any of the reports I get

    "The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: AgentPremiumSummary --- The base class 'GrapeCity.ActiveReports.SectionReport' could not be loaded. Ensure the assembly has been referenced and that all projects have been built."

    The GrapeCity.ActiveReports DLL is referenced (see second pic for references) and everything has been build. Multi times, with Cleaning in between. Still not able to open the report in the designer. I've tried adding the GrapeCity.ActiveReport.Serializer DLL as I've seen suggested in other posts, but that didn't resolve it either.

    How can I get these reports to open in the Designer in Visual Studio 2017?

  • Replied 11 May 2021, 3:16 pm EST

    Hello,

    Do you have any stripped down sample so that can I replicate the issue at my end? Also, does your application FW is greater than or equal to 4.6.2? Are you able to replicate the issue with newly created application?

    Thanks,
    Mohit
  • Replied 17 May 2021, 2:51 am EST

    Hi Mohit,

    I was able to resolve this by running the NuGet updates for some of the associated GrapeCity packages, i.e. documents.

    Thanks!
  • Replied 17 May 2021, 2:51 pm EST

    Hello,

    I am glad that your issue has been solved now. If you have any other questions, please let me know.

    Thanks,
    Mohit
  • Replied 27 May 2021, 2:02 am EST

    I am having the exact same issue going from Active Reports 9 to 15. However Since all of my GrapeCity.Documents NuGet packages are already at their highest compatible version with ActiveReports v15.0.2
  • Replied 30 May 2021, 5:10 pm EST

    Hello,

    Can you please share the Package.config file with us.

    Thanks,
    Mohit
  • Replied 1 June 2021, 4:02 am EST

     <package id="GrapeCity.ActiveReports" version="15.0.2" targetFramework="net472" />
    <package id="GrapeCity.ActiveReports.Chart" version="15.0.1" targetFramework="net472" />
    <package id="GrapeCity.ActiveReports.Core.DataProviders" version="2.0.1" targetFramework="net472" />
    <package id="GrapeCity.ActiveReports.Core.Document" version="1.0.3" targetFramework="net472" />
    <package id="GrapeCity.ActiveReports.Core.Document.Drawing.Gc" version="1.0.3" targetFramework="net472" />
    <package id="GrapeCity.ActiveReports.Core.Document.Drawing.Gdi" version="1.0.3" targetFramework="net472" />
    <package id="GrapeCity.ActiveReports.Core.Drawing.Gc" version="2.1.3" targetFramework="net472" />
    <package id="GrapeCity.ActiveReports.Core.Drawing.Gdi" version="2.1.3" targetFramework="net472" />
    <package id="GrapeCity.ActiveReports.Core.Rdl" version="2.1.3" targetFramework="net472" />
    <package id="GrapeCity.ActiveReports.Core.Rendering" version="2.1.3" targetFramework="net472" />
    <package id="GrapeCity.ActiveReports.Core.Scripting" version="2.1.3" targetFramework="net472" />
    <package id="GrapeCity.ActiveReports.Document" version="15.0.5" targetFramework="net472" />
    <package id="GrapeCity.DataVisualization.Chart" version="0.3.304" targetFramework="net472" />
    <package id="GrapeCity.Documents.Common" version="3.2.0.560" targetFramework="net472" />
    <package id="GrapeCity.Documents.Common.Windows" version="3.2.0.560" targetFramework="net472" />
    <package id="GrapeCity.Documents.DX.Windows" version="3.2.0.560" targetFramework="net472" />
    <package id="GrapeCity.Documents.Imaging" version="3.2.0.560" targetFramework="net472" />
  • Replied 2 June 2021, 3:57 am EST

    Hello,

    Can you please install the latest version in the following installer:
    https://www.grapecity.com/activereportsnet/download

    and use the "Convert To ActiveReports 15" in tool menu bar of the visual studio.

    Thanks,
    Mohit
  • Replied 3 June 2021, 7:07 am EST

    That didn't fix it.
  • Replied 3 June 2021, 1:20 pm EST

    Hello,

    Do you have any stripped down sample so that can I replicate the issue at my end? Are you able to replicate the issue with newly created application?

    Thanks,
    Mohit
Need extra support?

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

Learn More

Forum Channels