Issues with ActiveReports 13

Posted by: grapecity on 1 March 2019, 7:00 am EST

    • Post Options:
    • Link

    Posted 1 March 2019, 7:00 am EST

    I updated from 12 to 13 and this line

       Public ReadOnly Property ReportViewer() As GrapeCity.ActiveReports.Viewer.Win.Viewer 'Viewer.Viewer
    
    

    give me the error “error BC30002: Type ‘GrapeCity.ActiveReports.Viewer.Win.Viewer’ is not defined.”

    Has something changed? Do I need to include another dll or make a different call?

  • Posted 3 March 2019, 4:08 pm EST

    Hello,

    AR13 supports .Net FW 4.6.2 or higher framework. Please change the FW to 4.6.2 or higher to get rid of this issue. Also, refer to the following documentation link for more information on upgrading reports:

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

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

    Thanks.

  • Posted 8 March 2019, 4:51 am EST

    Thanks mohitg. We upgraded our programs to .NET FW 4.6.2 and most errors have gone away. However, I still get the error “error BC30456: ‘TextAlignment’ is not a member of ‘GrapeCity.ActiveReports.Document.Section’.” on this (and many other similar) line of code:

          Me.lblKTOP.Alignment = GrapeCity.ActiveReports.Document.Section.TextAlignment.Right
    

    The documentation I can find your website shows that this should work. Please advise.

  • Posted 10 March 2019, 9:39 pm EST

    Hello,

    Please use the following line of code:

    
    
          Me.lblKTOP.Alignment = GrapeCity.ActiveReports.Drawing.TextAlignment.Right
    
    
    

    Hope it helps.

    Thanks.

  • Posted 11 March 2019, 1:37 am EST

    That works. Thank you.

Need extra support?

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

Learn More

Forum Channels