Seriaizer won't install for .Net Framework 4.0 project

Posted by: Gregg on 10 October 2023, 7:39 am EST

    • Post Options:
    • Link

    Posted 10 October 2023, 7:39 am EST

    I am getting a common error on these Forums, namely

    Value cannot be null. Parameter name: instance

    Other topics suggest installing the Serializer from NuGet. When I tried this, it would not allow me to install because my project uses .Net Framework 4. I am running ActiveReports version 7.

    What can I do?

  • Posted 10 October 2023, 8:18 pm EST

    Hi Gregg,

    We do not provide support for ActiveReports 7 now as it is a legacy version. We would suggest you to upgrade to the latest version of ActiveReports i.e. ActiveReports 17.

    >> I am getting a common error on these Forums, namely: Value cannot be null. Parameter name: instance

    Generally, this error is observed when there are incorrect references present in the project. I would suggest you to try the following steps:

    1. Open the project in Visual Studio.
    2. Close all designer windows.
    3. Delete all the ActiveReports 7 references from the solution explorer.
    4. Re-add the ActiveReports references. You can find the ActiveReports 7 dlls at C:\ProgramFiles\CommonFiles\ComponentOne\ActiveReportsDeveloper7.
    5. Check the licenses.licx file to see that the version specified matches the ones installed on your machine, or you may remove the version and PublikKeyToken part from the entries.
    6. Delete the bin and obj folders from your application.
    7. Clean and Rebuild your solution and try opening the designer again.

    Note: ActiveReports 7 is compatible with only Visual Studio 2008, 2010, 2012, and 2013. Also, the Express Editions of Visual Studio do not work with ActiveReports, as they do not support packages.

    >> Other topics suggest installing the Serializer from NuGet. When I tried this, it would not allow me to install because my project uses .Net Framework 4. I am running ActiveReports version 7.

    This is because ActiveReports 7 does not support adding packages from Nuget Package Manager. Instead, you can find the ActiveReports 7 dlls at C:\ProgramFiles\CommonFiles\ComponentOne\ActiveReportsDeveloper7 location. You can add the GrapeCity.ActiveReport.Serializer dll from the same location.

    Click here to find ActiveReports 7 Documentation.

Need extra support?

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

Learn More

Forum Channels