This is a migrated thread and some comments may be shown as answers.

The 'ObjectContent`1' type failed to serialize

1 Answer 128 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Siva
Top achievements
Rank 1
Siva asked on 13 Mar 2019, 05:13 AM

Hi,

While im selecting "Select All" option in the filter, then its showing the below error.

Unable to get report parameters.

An error has occurred.
The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8'.

We tried to update Newtonsoft.json to latest version then also we are getting the same issue. We are having 200 customers only in that filter.

Telerik Version 13.0.19.22.

Can anyone please help me on that?

thanks

Kesavan

1 Answer, 1 is accepted

Sort by
0
Silviya
Telerik team
answered on 15 Mar 2019, 06:39 AM
Hi Kesavan,

In R2 2018 we have updated the Newtonsoft.Json dependency to 9.0.1. Thus my suggestion is to verify that the project is referring to Newtonsoft.Json 9.0.1. If you update to a newer version, include/modify the corresponding bindingRedirect for Newtonsoft.Json in the configuration file of the project (Web.config). For more information see this upgrade path article.

We strongly recommend using our Upgrade Wizard to update the existing projects. The wizard will make all the required changes in the project and create a back up before modifying it.

For more information about the error please refer to Error after upgrading to R2 2018 - The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8' KB article.

If the issue still persists, please open a new support ticket and attach the problematic project along with the report and some sample data for it, so we could test and provide more specific suggestions.

Best Regards,
Silviya
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Siva
Top achievements
Rank 1
Answers by
Silviya
Telerik team
Share this question
or