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

Error creating report instance

3 Answers 517 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 10 Sep 2014, 04:29 PM
I am attempting to use the HTML5 report viewer in one application and have another application as my report server.  I have debugged and attached to the report server.  I am hitting a breakpoint in the report controller as well as in my reports constructor so I know the site is running and finding the report.

I have configured it as directed on the help page and was able to download the formats using url http://localhost:62712/api/reports/formats.

I used Fiddler to get information in the attached but what jumps out to me is:
POST /api/reports/clients/[object%20Object]/parameters HTTP/1.1

I wanted to attach the projects but was not able to with the 'Allowed extensions' but basically I have changed nothing from the demos:
http://www.telerik.com/help/reporting/telerik-reporting-rest-host-http-service-using-web-hosting.html
http://www.telerik.com/help/reporting/html5-report-viewer-embedding.html

Please help!
Cheers,
Rob
P.S. My company is evaluating this product for purchase.

3 Answers, 1 is accepted

Sort by
0
Rob
Top achievements
Rank 1
answered on 10 Sep 2014, 04:31 PM
One other note, when I am debugging the report server I am getting this exception:
Client with ID '[object Object]' not found. Expired.  in Telerik.Reporting.dll
0
Rob
Top achievements
Rank 1
answered on 10 Sep 2014, 07:33 PM
I also tried to do this in a hosting application and came up w/ the same problem.  When it is trying to send the response it does not know about a client id.
Fiddler entry
POST http://localhost:8080/api/reports/clients/[object%20Object]/instances
410 Gone (application/json)
0
Stef
Telerik team
answered on 15 Sep 2014, 07:34 AM
Hi Rob,

Please check if Newtonsoft.Json.dll is updated to the latest available version from Nuget and if it is not installed by mistake on the machine - troubleshooting steps. Verify also the registered routes for the Reporting REST service are not mistaken with other routes.

To further troubleshoot the problem, check Fiddler - Inspectors - Response - Raw tab and the details for the error, and post it here, or open a support ticket and send us the whole log file created by Fiddler and a demo project.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Rob
Top achievements
Rank 1
Answers by
Rob
Top achievements
Rank 1
Stef
Telerik team
Share this question
or