ActiveReports 15 in Visual Studio 2015

Posted by: prasanthi.moturi.c on 23 April 2021, 6:20 am EST

  • Posted 23 April 2021, 6:20 am EST

    Team,

    Facting issues in two scenarios where we have to utilize the existing ActiveReports

    Softwares used:

    1. Active Reports licensed (version 15.0.5.0)

    2. Visual Studio 2015 and Framework 4.7.2

    Senario 1: Tried opening the older version of Section reports(.rpx) in Visual Studio 15 and was able to see the design view. When previewing the report getting the below error

    Exception details:

    System.IO.FileNotFoundException: Could not load file or assembly ‘GrapeCity.ActiveReports.VisualStudio.2015, Version=15.0.5.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff’ or one of its dependencies. The system cannot find the file specified.

    File name: ‘GrapeCity.ActiveReports.VisualStudio.2015, Version=15.0.5.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff’

    Senario 2: The existing section reports(.rpx) files were converted to (.rdlx) files with Banded list enabled during conversion

    The report format of RDLX is

    Banded List

    Group Header( controls which are used on each of report)

    Banded List Details

    Group Footer (No Records Found)

    The problem is when no results are returned from Database the report is displayed as blank.

    My requirement is the header and footer section should be rendered when there is no data in the detail.

    Can you please suggest on how to proceed in the above two scenarios

  • Posted 25 April 2021, 10:37 am EST

    Hello,

    Can you please try after adding the required packages in VS2015 as mentioned in the following requirement:

    https://www.grapecity.com/activereportsnet/docs/v15/online/requirements.html

    My requirement is the header and footer section should be rendered when there is no data in the detail.

    Can you add the Header and Footer in the report to show the content without data.

    Thanks,

    Mohit

  • Posted 26 April 2021, 5:05 am EST

    Added the required packages and it is working fine for Page reports.

    Facing the issue with XML based section reports. Below is the Stack trace message

    Could not load file or assembly ‘GrapeCity.ActiveReports, Version=15.0.5.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff’ or one of its dependencies. The system cannot find the file specified.

    at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)

    at System.Signature…ctor(IRuntimeFieldInfo fieldHandle, RuntimeType declaringType)

    at System.Reflection.RtFieldInfo.get_FieldType()

    at System.Reflection.RtFieldInfo.get_InvocationFlags()

    at System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, StackCrawlMark& stackMark)

    at System.Reflection.RtFieldInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)

    at System.Reflection.FieldInfo.SetValue(Object obj, Object value)

    at GrapeCity.ActiveReports.Internal..Compile()

    at GrapeCity.ActiveReports.Internal..ExecuteMethod(String methodName, Object parameters, Boolean& success)

    at GrapeCity.ActiveReports.SectionReport.ProcessInit(Boolean bDelayedInit)

    at GrapeCity.ActiveReports.SectionReport.RunImpl(Boolean syncDocument)

    at GrapeCity.ActiveReports.SectionReport.Run(Boolean syncDocument)

    at GrapeCity.ActiveReports.SectionReport.Run()

  • Posted 27 April 2021, 1:10 am EST

    Hello,

    Could you make sure that “GrapeCity.ActiveReports” NuGet Package is installed in your application.

    Thanks,

    Mohit

  • Posted 23 August 2021, 4:19 pm EST

    I am having the same issue with previewing Section xml reports in Visual Studio 15 and using Active reports 15. “GrapeCity.ActiveReports” NuGet Package is installed and all other reports preview. Only issue is Section report (xml) and that is the type of ALLof my reports. Please Help! Thanks!

  • Posted 24 August 2021, 1:08 am EST

    Hello,

    Can you install the latest version of the AR from the following link:

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

    Do you face same issue with newly created report?

    Also, please share VS,OS version with us and steps to reproduce the issue.

    Thanks,

    Mohit

  • Posted 24 August 2021, 11:47 am EST

    I installed latest version and still the same behavior occurs. Yes this happens on a newly created report with nothing on it and I dropped a label on it as well and same behavior. Also created a brand new report after installing latest hotfix and same behavior. I can pull the same reports up in AR15 designer on same machine and they preview successfully. Behavior only exists within VS Environment.

    Environment: Visual Studio 2015 Update 3

    Windows 8.1 pro

  • Posted 25 August 2021, 1:02 am EST

  • Posted 25 August 2021, 5:56 pm EST

    Everything listed is installed and up to date. Behavior still occurs. Please help. I pay for support. Please reopen my case and contact me via phone. Thank you.

  • Posted 3 September 2021, 3:06 pm EST - Updated 30 September 2022, 4:29 pm EST

    If you had a case that was closed, please go to My Support page and select ‘View Closed Cases’ from the dropdown. From the list you can reopen the closed case and we’d be happy to help you with the issue you’re facing.

Need extra support?

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

Learn More

Forum Channels