.Net Core + AR14 SectionReport.Run asks for System.Windows.Forms

Posted by: dpal on 18 January 2020, 6:40 pm EST

    • Post Options:
    • Link

    Posted 18 January 2020, 6:40 pm EST

    Hi everyone,

    I am trying to migrate an AR6 .Net Project to .Net Core AR14. The project is a windows service that contains section reports while one of them is in Arabic (Right to Left). I am currently stack on the following exception when running the Report. Any ideas on how to move on? Does AR14 support Section Reports in .Net Core?

    Here is the exception:

    ‘theRpt.Run(false)’ threw an exception of type ‘System.IO.FileNotFoundException’

    Data: {System.Collections.ListDictionaryInternal}

    FileName: “System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”

    FusionLog: “”

    HResult: -2147024894

    HelpLink: null

    InnerException: null

    Message: “Could not load file or assembly ‘System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’. The system cannot find the file specified.”

    Source: “GrapeCity.ActiveReports”

    StackTrace: " at GrapeCity.ActiveReports.SectionReport.Run(Boolean syncDocument)"

    TargetSite: {Void Run(Boolean)}

  • Posted 19 January 2020, 5:55 pm EST

    Hello,

    Sorry to mention that SectionReport does not support the Asp.Net Core. I suggest you to migrate to Page/RDL report if you want to develop report in the Asp.Net core environment.

    You can refer to the following link to convert section report to Page/Rdl Report.

    https://www.grapecity.com/activereports/docs/v14/online/importing-rpx.html

    Thanks,

    Mohit

  • Posted 19 January 2020, 8:03 pm EST

    Hi,

    Thanks on your immediate response. I did read an old post about it but didn’t found anything in the documentation. Perhaps it would be better if the documentation clearly states that this feature is not supported. Now, regarding my implementation:

    1. When do you plan to support Section Reports on .Net Core?
    2. Can I consider Page Reports a superset of Section Reports as far as features are concerned and move on with .Net Core now?
  • Posted 19 January 2020, 8:27 pm EST

    Hello,

    There is no concrete plan(Maybe AR15, AR16) to support .Net core in the section report.

    I don’t say that Page reports and section reports are 100% compatible. There is some feature which you can’t achieve through PageReport which you can achieve in SectionReports. However, PageReport can cover most of the features of the section report and provide you additional features as well.

    Could you please share your use case or requirement so that I will guide you that it will achieve through PageReport or not?

    Thanks,

    Mohit

Need extra support?

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

Learn More

Forum Channels