Website getting stuck at /api/reports/clients call

3 posts, 0 answers
  1. Doyle
    Doyle avatar
    4 posts
    Member since:
    Jul 2014

    Posted 28 Jul 2014 Link to this post

    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. Doyle
    Doyle avatar
    4 posts
    Member since:
    Jul 2014

    Posted 29 Jul 2014 in reply to Doyle Link to this post

    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.
  3. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 30 Jul 2014 Link to this post

    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.

     
Back to Top