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

Reporting in ASP.NET Core - Config issue

1 Answer 232 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Al
Top achievements
Rank 1
Al asked on 19 Mar 2020, 07:42 PM

I've been struggling to get reports running in ASP.NET Core.  

I have the demo and it works.  It is a Core 2.2 app.  I've tried to add it in to my app which is a 3.1 app nothing is going well.

I started with the beautiful "Cannot access the Reporting REST service" error. Reading through tons of things I figured out my reports controller is giving an error.

So now I'm trying to get /api/reports/formats to display properly.  I'm hoping if I can get this working, the rest will fall in to place. It work in the demo, but I get:

InvalidOperationException: Property 'JsonResult.SerializerSettings' must be an instance of type 'System.Text.Json.JsonSerializerOptions'.

Can anyone give me a pointer in the right direction?

1 Answer, 1 is accepted

Sort by
0
Al
Top achievements
Rank 1
answered on 19 Mar 2020, 09:19 PM

I finally got it.

The demo attached to this post was the key.

https://www.telerik.com/forums/can-i-use-reports-on-net-core-3-1

 

Tags
General Discussions
Asked by
Al
Top achievements
Rank 1
Answers by
Al
Top achievements
Rank 1
Share this question
or