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

Website getting stuck at /api/reports/clients call

2 Answers 243 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Doyle
Top achievements
Rank 1
Doyle asked on 28 Jul 2014, 06:12 PM
I am adding reporting to a website. Everything is in place for the WebApi, but I am running into a strange issue as demonstrated in the attached screenshot. I can check that everything is in place by checking the api/reports/formats call I get the expected results. However, when trying to display a report in the reportsViewer the template is found but the call to api/reports/clients returns nothing. I get no errors or response at all and firebug shows that the browser waits for a return that never comes.

I'm using fairly standard MVC4 setup. I have been able to get reporting working in a bare test site, but run into this problem on the full development site.

Anyone came across similar and solved?

2 Answers, 1 is accepted

Sort by
0
Doyle
Top achievements
Rank 1
answered on 29 Jul 2014, 01:59 PM
Now to swallow some pride...

Turns out the problem was related to impersonation that is being used on the website. I'll have to dig a little deeper to figure out how I need to work around this, but just wanted to update this posting now that I have found the issue.
0
Stef
Telerik team
answered on 30 Jul 2014, 04:55 PM
Hello Doyle,

The best troubleshooting approach in such cases is to use the browser's console Network tab or Fiddler and check the failed requests. Thus you can see if relative paths (for JS/CSS/HTML files and the viewer's serviceUrl) in the application are resolved correctly.Then test if the running IIS process has proper read/write access to the cache storage defined in the service's CreateCache method. Also check all connection strings are copied correctly and allow access to the database from the new machine.
Verify all verbs are allowed by the IIS configuration.

If you need further help, please inspect with Fiddler the requests and send us the created log(SAZ) file, including a demo project where the problem is reproducible. Check also the server's Event Viewer for any logged errors from the application.


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
Doyle
Top achievements
Rank 1
Answers by
Doyle
Top achievements
Rank 1
Stef
Telerik team
Share this question
or