Updating to ActiveReports v11.2 from previous version

Posted by: Mike.Holik on 25 September 2017, 11:48 pm EST

    • Post Options:
    • Link

    Posted 25 September 2017, 11:48 pm EST

    I am fairly new to using Active Reports so perhaps a stupid question. I updated ActiveReports from version 11.1 I believe (mid June release) to 11.2 and now receive the following FildLoadException -

    An exception of type ‘System.IO.FileLoadException’ occurred in CS.Accounting.Reports.Output.dll but was not handled in user code

    Additional information: Could not load file or assembly ‘GrapeCity.ActiveReports.Document.v11, Version=11.1.9726.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    Any idea on what I am doing wrong? Thanks

  • Posted 26 September 2017, 4:10 pm EST

    This is a common error when there’s a missing reference. Here’s what you need to do:

    1. In VisualStudio, go to the Tools meny and select ‘Convert to ActiveReports 11’
    2. Click Ok in the next dialog
    3. Close your application and open its physical location
    4. Delete the bin and obj folders
    5. Re-open your application in Visual Studio and re-build it

    You should not face the error anymore.

  • Posted 17 October 2019, 2:37 am EST

    I’m having the same problem Mike.Holik is. I am working in a solution with two different projects, each hosting their own version of Active Reports. One project is on v9, the other on v11.

    abdias.michael, I followed the instructions in your post and that updated the v9 project correctly. It did not update the v11 project.

    I am trying to upgrade the v11 project from 11.0.8705.0 to 11.3.13058.0.

  • Posted 17 October 2019, 5:18 pm EST

    Hello,

    Please make sure that you have included the following dll under you project references:

    GrapeCity.ActiveReports.Document.v11.dll
    
    

    Also, ensure that there is no version mismatch in the licenses.licx file i.e. for all the entries in the file, remove the strong names (Version, Culture, PublicKeyToken values) to make the entries look like:

    GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports.v11
    GrapeCity.ActiveReports.Viewer.Win.Viewer, GrapeCity.ActiveReports.Viewer.Win.v11 
    

    The version of ActiveReports dlls in the project should be same as shown in the licenses.licx and web.config files.

    Regards,

    Esha

Need extra support?

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

Learn More

Forum Channels