View designer fails for Section Report

Posted by: grapecity on 22 July 2019, 8:08 pm EST

    • Post Options:
    • Link

    Posted 22 July 2019, 8:08 pm EST - Updated 30 September 2022, 8:08 am EST

    Hello

    Just installed Activereports ActiveReports v13.1.17570.0 in VS2019 V16.1.6 with Framework 7 and I cannot enter in the design view for section reports. I can edit rdlx page reports but not section reports.

    Regards

  • Posted 22 July 2019, 8:09 pm EST

    • Framework it’s 4.7.2
  • Posted 23 July 2019, 9:38 pm EST

    Hello,

    Does this happen for an existing project? If yes, then you may want to close the application, delete the bin/obj folders and try executing it again. Also, please try removing the references from the Solution Explorer and add them again from the default directory containing the dlls.

    Further, also try using the " Convert to ActiveReports 13" option from Visual Studio Tools menu.

    In case these do not help, please use the latest hotfix build:

    http://cdn.grapecity.com/ActiveReports/AR13/hotfixes/ActiveReports-v13.1.17688.0.msi

    Let me know if the issue persists or in case you face this error for every fresh project you create in VS 2019.

    Regards,

    Esha

  • Posted 24 July 2019, 10:13 pm EST

    Hello

    This situation it’s happening with a fresh new project. I will try the latest hotfix.

    Regards

  • Posted 25 July 2019, 2:39 pm EST

    Hello,

    You can try with the latest hotfix and share your observations.

    Hope it works for you.

    Thanks.

  • Posted 30 July 2019, 9:40 pm EST

    Hello

    Just tryed version v13.1.17688.0 but it didn’t solve the problem either.

    Please let me know if you need aditional information.

    Regards

  • Posted 31 July 2019, 9:37 pm EST

    We have the same Issue!

    We purchased and installed 13.0.15823.0. Next we tried to convert a running AR10 project which results in over 1000 errors. There was no way to view a report in design view.

    We tried AR13 so1 and the hotfix v13.1.17688.0 but we are unable to see a design view.

    The software is running on a win 7 (64bit) and tested with Framework 4.5.2 to 4.6.1 and visual Studio Enterprise 2015.

    Also we tried to setup a new (empty) project with only one (empty) section report (code based). This results in the same problems.

  • Posted 31 July 2019, 11:01 pm EST - Updated 30 September 2022, 8:09 am EST

    Hello,

    @luisribeiro

    We have used the same hotfix version with Visual Studio 19 version 16.2.0, with both new and existing applications. No issue was observed while opening the designer. Refer the attached screenshots.

    Please check if you have the “Allow synchronous autoload of extensions” option checked under Tools->Options->Extensions. If yes, you would need to uncheck it, uninstall and re-install ActiveReports. This should fix the issue for you.

    If it is already unchecked, kindly share the log generated at your end after uninstalling and freshly installing Active reports again. It can be obtained by following the instructions here: https://www.advancedinstaller.com/user-guide/qa-log.html

    @volker.sturm

    Most of the errors should be resolved for you after you use .NET Framework 4.6.2 or above, as mentioned under the AR 13 requirements here:

    https://help.grapecity.com/activereports/webhelp/AR13/webframe.html#Requirements.html

    If the issues persist, we’d request you to elaborate on them so that we can assist you in the right direction.

    Thanks,

    Esha

  • Posted 9 August 2019, 3:09 am EST

    Hello

    It was already unchecked.

    Sending the log file.

    RegardsLOG_ActiveReports_Install.zip

  • Posted 11 August 2019, 4:39 pm EST

    Hello,

    Could you please try to open VS after running the following command:

    “devenv /resetsettings”

    “devenv /resetuserdata”

    Hope it helps.

    Thanks.

  • Posted 11 August 2019, 10:07 pm EST

    Hello

    I just try these commands but it didn’t solved the problem.

    I also tried a clean backup image with VS2019 16.1.3 . VS was installed with options Mobile + Web + Win Forms and the backup image was made before the installation of components from other vendors. During this test I just installed ActiveReports and got exactly the same error message with a small project with a single section report.

    Best regards

  • Posted 12 August 2019, 1:18 am EST

    “Please check if you have the “Allow synchronous autoload of extensions” option checked under Tools->Options->Extensions. If yes, you would need to uncheck it, uninstall and re-install ActiveReports. This should fix the issue for you.”

    AR13 was working fine with VS2019 16.1 and .NET Framework 4.8 but when I upgraded to VS2019 16.2, it stopped working. I was getting the same error and the above worked for me. I had to dumb down some of the Win 10 (build 1903 recently installed) security settings and completely turn off the protected folders in order to reinstall it and the first time I opened the report designer it took over 5 minutes to load (and that’s from a SDD). But it is working now, so thanks.

  • Posted 12 August 2019, 9:03 pm EST

    Hello,

    Will you please try after running the Visual studio with administrative privileges. Also, turn off the antivirus and window defender of the system.

    Thanks.

  • Posted 13 August 2019, 8:35 am EST

    Hello

    When using Section Reports from ActiveReports 8 with Visual Studio 2013, the only place where they could run was inside folder “App_code”. I was doing the same with ActiveReports 13 with VS 2019. I just tryed to create a section report in the project root and I can access the design mode, but inside “App_code” I cannot. Section Reports from ActiveReports 13 now run outside of “App_code” folder?

    Regards

  • Posted 13 August 2019, 5:23 pm EST

    Hello Luis,

    Thanks for the detail information. I am able to reproduce the error at my end. Hence, I have escalated the issue to our development team(274965) and will inform you once I get any information from them.

    Also, you can run the SectionReport outside the “App_Code” folder. Designer open successfully when created outside the 'App_Code" folder.

    Thanks.

  • Posted 13 August 2019, 8:08 pm EST

    Hello Luis,

    Please set the build action property of the section report files to “Compile”. Ideally, it should set to “Compile” on adding the Section report template. However, as a workaround, you can change it to “Compile” manually.

    Thanks.

  • Posted 13 August 2019, 8:41 pm EST - Updated 30 September 2022, 8:09 am EST

    Hello

    In did when creating a section report inside App_code “compile” it’s not selected by default. After change it to “compile” I don’t get the reported problem but I get this error code:

    Regards

  • Posted 13 August 2019, 8:49 pm EST

    Luis,

    Please change the build action property of sectionreport01.designer.Vb file to “Compile” too.

    Thanks

  • Posted 14 August 2019, 12:24 am EST

    Thank you Mohitg seems to be ok now. I will continue with my project convertion.

    Best regards

  • Posted 15 February 2020, 5:33 am EST

    I hear you ! I just purchased Active Reports V 14 and have only been able to design reports 20 percent of the time. The rest of the time, the designer will not render.

    The designer could not cast the report to the SectionReport type. The probable cause is that the SectionReport assembly reference was not set to CopyLocal True.

    I have read this whole post and tried everything with no luck. Every weekend when I sit down to work on my project, I can’t because of this error. Very Very frustrated.

  • Posted 16 February 2020, 11:33 pm EST

    Hello,

    We working on this. We will update once the new hotfix is released. If you provide us the sample then our QA team will test your scenario as well.

    Thanks,

    Mohit

  • Posted 18 February 2020, 3:43 pm EST

    Hello,

    Could you please check with the latest hotfix:

    http://cdn.grapecity.com/ActiveReports/AR14/Hotfixes/ActiveReports-v14.0.19463.msi

    Thanks,

    Mohit

  • Posted 23 February 2020, 2:04 pm EST

    I’m having the same issue with the designer, on 19463. Upgrading from AR 13

  • Posted 24 February 2020, 9:10 pm EST

    Hello,

    Have you upgrade the sample using the “Convert To ActiveReports14” and please try after closing the VS and reopen it. If not, Could you please share the sample with me so that I can look into the issue.

    Thanks,

    Mohit

  • Posted 25 February 2020, 12:44 am EST

    Hi, I did try the convert tool, but it errors out with a null reference exception I believe.

    It’s a large solution 100 projects, but only a few referencing AR

  • Posted 25 February 2020, 12:58 am EST - Updated 30 September 2022, 8:09 am EST

    Sorry, specified cast is not valid, not a NRE

  • Posted 25 February 2020, 8:39 pm EST

    Hello Brian,

    Does your project including .Net Core projects in the solution?

    If they are very few projects which contains AR references. Could you please try converting them one by one.

    Thanks,

    Mohit

  • Posted 26 February 2020, 1:18 am EST

    Hi Mohit,

    It does contain .net cores style projects, but they still target the full framework.

    How do you convert a single project? I tried just selecting one project in the solution explorer and running the tool. Am I missing something?

  • Posted 26 February 2020, 11:06 pm EST

    Hello,

    It does contain .net cores style projects, but they still target the full framework.

    It is a known issue if the solution contain .net cores style projects. Our developer team(278489) is working on this. Will inform you once I got any information from them.

    Am I missing something?

    I just want to say open the project individually not from the solution.

    Thanks,

    Mohit

  • Posted 9 March 2020, 8:40 am EST

    I am also experiencing this problem with newly installed version 14.0.19484.0. I cannot view the designer for any pre-existing (created with v12) or newly created section reports. It pretty much renders the tool unusable for our purposes since all of our reports are section reports.

  • Posted 10 March 2020, 10:47 pm EST

    Hello,

    Please try after manually adding a reference to GrapeCity.ActiveReports.Serializer NuGet package.

    if the problem still occurs:

    Try to reset VS (https://docs.microsoft.com/en-us/visualstudio/ide/reference/resetsettings-devenv-exe?view=vs-2019)

    If the issue is not resolved, please let me know.

    Thanks,

    Mohit

  • Posted 1 May 2020, 6:25 am EST

    We are having the same issues with AR14, I updated with nuget the latest version 14.1… Everything work (print) but we cannot not design anything, SectionReport error even if the report does not have any SectionReport.

    GrapeCity.ActiveReports.Serializer NuGet package does not exists. I cannot find it.

    All the package are installed and updated.

    I don’t think resetting VS (screwup our setting) just to see if that work… What the real issue?

  • Posted 1 May 2020, 6:35 am EST

    Just to add to my issues, All report avec SectionReport.cs type.

    Even a new SectionReport from scratch do the same thing.

    à GrapeCity.ActiveReports.Design.ArDesigner.ReportDesigner.ReportDesigner.Initialize(IComponent component)

    à System.ComponentModel.Design.DesignerHost.AddToContainerPostProcess(IComponent component, String name, IContainer containerToAddTo)

    à System.ComponentModel.Design.DesignerHost.PerformAdd(IComponent component, String name)

    à System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)

    à System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)

    à System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)

    à System.ComponentModel.Design.Serialization.RootCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)

    à GrapeCity.ActiveReports.Serializer.ReportRootCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)

    à System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)

    à Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)

    — Fin de la trace de la pile à partir de l’emplacement précédent au niveau duquel l’exception a été levée —

    à Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)

    à System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)

  • Posted 1 May 2020, 6:57 am EST

    The only thing I see its maybe related to the LICENCES.LICX

    What’s API (namespace) we must specifies to allow DESIGNER to work?

    I guess all our issues are related to that…

    Here a list of what I have, do I miss some?

    GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=xxx

    GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, GrapeCity.ActiveReports.Export.Pdf, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=xxx

    GrapeCity.ActiveReports.PageReport, GrapeCity.ActiveReports, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=xxx

    GrapeCity.ActiveReports.Web.WebViewer, GrapeCity.ActiveReports.Web, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=xxx

    GrapeCity.ActiveReports.Viewer.Win.Viewer, GrapeCity.ActiveReports.Viewer.Win, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=xxx

    GrapeCity.ActiveReports.Design.Designer, GrapeCity.ActiveReports.Design.Win, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=xxx

  • Posted 3 May 2020, 6:47 pm EST - Updated 30 September 2022, 8:09 am EST

    Hello,

    AR 14.1.* is not officially released yet. It is scheduled to release in mid of this month. You can try with the latest hotfix version of AR14:

    http://cdn.grapecity.com/ActiveReports/AR14/Hotfixes/ActiveReports-v14.0.19765.msi

    Please remove all the packages and re-add them. Please change all the old entries (14.0.19484.0) to new entries(14.0.19765.0)

    I can see the “GrapeCity.ActiveReports.Serializer” in the Nuget Package manager. Please refer to the attached image.

    Thanks,

    Mohit

  • Posted 3 May 2020, 11:29 pm EST

    the problem is 14.1 is available on nuget, but the *.serializer not, so all package are update to date but the serializer are not since it’s still on the old version. (last week)

    But now I see the new one, you problably updated the new package this week-end :slight_smile:

    also the new package help. work now! tahnk you

  • Posted 15 June 2020, 1:26 am EST

    Hi. Upgrading the packages to 14.1 in Nuget fixed this issue for us. Is there a download installer for 14.1 similar to the update downloads for prior versions? I don’t see one listed anywhere, and it’s somewhat annoying to create a report, have it add packages, and then immediately have to go update them for it to work.

    Thanks.

  • Posted 15 June 2020, 5:36 pm EST

    Hello,

    You can download the installer of AR14.1 from the following link:

    https://www.grapecity.com/activereports/download

    Thanks,

    Mohit

Need extra support?

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

Learn More

Forum Channels