Add SectionReport Visual Studio 2022

Posted by: jarmero on 15 December 2021, 1:03 am EST

    • Post Options:
    • Link

    Posted 15 December 2021, 1:03 am EST - Updated 30 September 2022, 6:12 am EST

    Hello,

    I installed Visual Studio 2022 Porfessional and I need to add a new section report.

    I don’t see this element and any about ActiveReports at the elements list.

    I attached an image about my element list.

    Can you help me?

    Thanks in advance.

  • Posted 15 December 2021, 1:08 am EST - Updated 30 September 2022, 6:12 am EST

    In addition, I can’t open any report designer.

  • Posted 21 December 2021, 4:06 am EST

    We’re all waiting for the next AR to drop, which supports 2022.

    https://www.grapecity.com/forums/activereports/visual-studio-2022

  • Posted 22 December 2021, 10:02 pm EST

    Hello ,

    please try to update the installed version of ActiveReports to v15.2.4+ by the webinstaller.

    Thanks,

    Sergey Romanov.

  • Posted 27 December 2021, 3:25 am EST

    Sergey,

    Are you saying that Visual Studio 2022 is supported now by AR 15.x?

    If so, the only version I see downloadable is 15.2.0.5 from the web site.

    Thank you,

    J

  • Posted 27 December 2021, 7:28 pm EST

    Hello Jhon ,

    yes, it should be fine. there is just a difference in binaries and webinstaller versioning.

    Thanks,

    Sergey Romanov.

  • Posted 9 February 2022, 9:25 am EST

    I recently upgraded to VS 2022 and I have AR 15.2.6 and I’m getting the attached message when I try to change something on a section report.

  • Posted 9 February 2022, 9:52 am EST

    Imclaughlin… what is the message? I don’t see it in your post?

  • Posted 9 February 2022, 10:16 am EST

    The message is

    Method not found : EnvDTE.Events EnvDTE._DTE.get_Events()

  • Posted 9 February 2022, 10:21 pm EST

    Hello ,

    please make sure GrapeCity.ActiveReports.dll in

    “C:\Program Files (x86)\GrapeCity\ActiveReports 15\Tools” has the same version as nuget package in the project.

    also, please do not forget to cleanup and rebuild the project after changes in the references.

    Thanks,

    Sergey Romanov.

  • Posted 10 February 2022, 1:37 am EST

    Is there an install I can download to get 15.2.6. My nuget package has 15.2.6 installed but the version in “C:\Program Files (x86)\GrapeCity\ActiveReports 15\Tools” is 15.2.4. Or do I need to uninstall the nuget package and reinstall 15.2.4 nuget package?

  • Posted 14 February 2022, 8:46 pm EST

    Hello ,

    if you have the fresh web installer, you can choose what version to install.

    but installation of nuget 15.2.4 package will work too if you do not want to reinstall ActiveReports. just cleanup bin folder and rebuild the project after nuget downgrade.

    Thanks,

    Sergey Romanov.

  • Posted 25 July 2022, 2:48 am EST

    Hi, there,

    I am sorry to add a reply to this. Please let me know if I should open a new thread instead.

    I have upgraded to VS2022 as well as AR 16 and I am also getting the error message: Method not found : EnvDTE.Events EnvDTE._DTE.get_Events().

    I am getting the error after adding a new group header/footer to an existing report via the designer and clicking save.

    Some more details:

    AR version: 16.0.0

    GrapeCity.ActiveReports.Serializer nuget package: 16.1.1

    If I downgrade GrapeCity.ActiveReports.Serializer to 16.0.0 then the report does not show at all in visual studio’s designer as it blows up with the error message: 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: xyz — The base class ‘xyz’ could not be loaded. Ensure the assembly has been referenced and that all projects have been built.

    I believe that even though GraceCity AR 16 dll’s show a version of 16.0.0 in the Tools folder, they are registtered as 16.1.1 so I am getting a mistmatch when I downgrade the nuget to 16.0.0.

    What should I do to solve this problem?

    Do I need to install the GrapeCity.ActiveReports.Serializer.VS2022 nuget package instead?

    Thanks

  • Posted 25 July 2022, 7:34 am EST

    I installed GrapeCity.ActiveReports.Serializer.VS2022 nuget package and that solved my issues.

  • Posted 26 July 2022, 1:02 am EST

    Hello Joseph,

    I am glad you were able to resolve this issue on your own.

    And thank you for sharing the solution with us. It may help other people who might be facing similar issues

  • Posted 14 November 2022, 9:05 pm EST

    Thanks for the solution. I will also install GrapeCity.ActiveReports.Serializer.VS2022 nuget package.

  • Posted 30 May 2023, 6:12 am EST

    I have a similar issue. I upgraded from AR 12 to 17 and VS2022. All the Active Report references are at 17.0.3. Installed the 2022 serializer, but when I try to save a report I get the “Method not found: EnvDTE.Events EnvDTE._DTE.get_Events()” error. Should there be a reference to EnvDTE in the project? The reports come up OK in the designer, but any changes cannot be saved.

  • Posted 31 May 2023, 2:27 pm EST

    Hi Gary,

    The error “EnvDTE.Events EnvDTE.DTE.get_Events()” occurs when you are using ActiveReports on an incompatible version of Visual Studio or using different versions of ActiveReports controls on a report created using a different version of ActiveReports.

    As you have mentioned you also have ActiveReports v12 installed whereas your project is using ActiveReports v17 we suspect this issue is likely due to using v12 controls in your v17 project.

    • To resolve this first, close your project (without saving your report as saving the report will throw the same error).

      Now open your project in VisualStudio and close any open window of your SectionReport designer within VisualStudio (Click on Don’t Save when prompted).
    • Now use the Tools>Convert to ActiveReports 17 tool to convert your reports & their references to the compatible versions with respect to the ActiveReports 17 installed on your system.
    • After this right-click on your project>click on Clean & rebuild your project. Now try to open your SectionReport and it should work as expected.
    • Hope this resolves your issue! However, if the issue persists please try sharing a stripped-down sample of your project so we could replicate this issue on our end and further investigate the same.

    Regards,

    Anand

Need extra support?

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

Learn More

Forum Channels