Error adding a report in VS 19, AR 14

Posted by: aschwab on 16 June 2021, 5:47 pm EST

    • Post Options:
    • Link

    Posted 16 June 2021, 5:47 pm EST

    I have installed 14.0.19484.0 using VS 19 version 16.9.0,. targetFramework=“4.6.2”. I tried to upgrade the website from AR 13.1.16872, When I add a new AR 14 Section Report (code based) and try to View a designer and I am getting the below error.

    Instances of this error (1)

    1. Show Call Stack

    at System.ComponentModel.TypeDescriptor.AddAttributes(Object instance, Attribute attributes)

    at Microsoft.VisualStudio.Design.VSDesignSurface.CreateDesigner(IComponent component, Boolean rootDesigner)

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

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

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

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

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

    at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)

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

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

    — End of stack trace from previous location where exception was thrown —

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

    at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)

    Please help.

    Thank you

  • Posted 17 June 2021, 2:07 am 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)

    Thanks,

    Mohit

  • Posted 17 June 2021, 12:41 pm EST

    I reset the settings but I got same errors.

    This is my packages.config:

    <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE packages [
    <!ELEMENT package EMPTY>
    <!ATTLIST package
    

    id CDATA #REQUIRED

    version CDATA #REQUIRED

    targetFramework CDATA #REQUIRED

    developmentDependency CDATA #IMPLIED>

    ]>





























































    Instances of this error (1)

    1. Hide Call Stack

    at System.ComponentModel.TypeDescriptor.AddAttributes(Object instance, Attribute attributes)

    at Microsoft.VisualStudio.Design.VSDesignSurface.CreateDesigner(IComponent component, Boolean rootDesigner)

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

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

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

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

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

    at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)

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

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

    — End of stack trace from previous location where exception was thrown —

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

    at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)

  • Posted 17 June 2021, 12:45 pm EST

    Hello,

    You are using very old version of AR14. I suggest you to try with the latest version of AR14:

    https://global-cdn.grapecity.com//blogs/activereports/20210528-activereports-14-3-available/ActiveReports-v14.3.20938.msi

    In old version, there is issue with SectionReport Designer.

    Thanks,

    Mohit

  • Posted 21 June 2021, 1:18 pm EST

    The report designer works now.

    Thank you.

Need extra support?

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

Learn More

Forum Channels