AR11 and Json v7

Posted by: darin on 7 March 2019, 2:13 am EST

    • Post Options:
    • Link

    Posted 7 March 2019, 2:13 am EST

    We are just now upgrading to AR11 from AR6.

    We using newtonsoft json v12.0.1.22727 (the latest stable solution). When try to view a report we receive an error about not being able to find newtonsoft.json v7.0.0.0.

    we have to use version 12. What solution can you provide to AR?

    We are 100% winforms.

    Thanks in advance.

  • Posted 7 March 2019, 4:50 pm EST

    Hello,

    ActiveReports does not support the 8 or higher version of Newtonsoft.Json. You can use the 8 or higher of Newtonsoft.Json with the old version of it by using “BindingDirect”. You need to put the following lines of code in the config file:

    Hope it clarifies.

    Thanks

  • Posted 7 March 2019, 10:55 pm EST

    We are a windows forms application. Where is the config file you are referring to?

  • Posted 7 March 2019, 10:57 pm EST

    Hello,

    I am referring to “App.Config” file present in WinForms application.

    Thanks.

  • Posted 7 March 2019, 11:17 pm EST

    Ok, i put that in the app.config file of the dll that does all of our printing. I still get the same error.

    I guess i don’t understand because the newtonsoft.json program that is in the folder is only version 12. I don’t understand how i can have both versions 12 and 7 in one folder.

  • Posted 10 March 2019, 9:54 pm EST

    Hello,

    I have created the App.Config for you. Please refer to the attachment. You don’t need to have both dll in your folder. You need to put only Version 12 dll in your folder.

    Thanks.

    App.zip

  • Posted 10 March 2019, 10:41 pm EST

    THANK YOU!!!

    That worked.

Need extra support?

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

Learn More

Forum Channels