Internal Server Error - Reporting

4 posts, 0 answers
  1. Fernando
    Fernando avatar
    2 posts
    Member since:
    Jan 2016

    Posted 29 Jan Link to this post

    Hello,

    Actually I am using kendo reporting with MVC when I run my webpage and show the reports in my local pc all is great, but when I publish my webpage into a server and run it in a web browser the webpage is ok the problem is when I try to visualize the reports in the browser it gives me the following errors.

    Internal Server Error:
    An error has occurred.
    Object reference not set to an instance of an object.

    and

    Internal Server Error:
    An error has occurred.
    Value cannot be null. Parameter name: source

    Now I update to Kendo Reporting Q2 2015 and I have the following error:

    Error registering the viewer with the service.
    An error has occurred.
    Object reference not set to an instance of an object.

    What should I do?

    I will appreciate your help.

    Thank you.

  2. Nasko
    Admin
    Nasko avatar
    909 posts

    Posted 29 Jan Link to this post

    Hello Fernando,

    The error means that the REST Service is not implemented correctly, or is not found by the report viewer client. Please review the How To: Use HTML5 ASP.NET MVC Report Viewer in an application and How To: Add Telerik Reporting REST Web API to Web Application help articles and check if everything is implemented correctly on your end.

    You can also find sample implementations of the viewer and the service in the Telerik Examples folder: C:\Program Files (x86)\Telerik\Reporting <version>\Examples

    In case the issue persists, please send us a runnable sample project exhibiting the problematic behavior, so we can debug it locally and advise accordingly.

    Regards,
    Nasko
    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
  3. DevCraft banner
  4. Fernando
    Fernando avatar
    2 posts
    Member since:
    Jan 2016

    Posted 16 Mar in reply to Nasko Link to this post

    Hi Nasko,

    I already implement like is in the examples, but againg I run my webpage in my local pc and show the reports, but when I publish my webpage into a server and run it in a web browser the webpage is ok the problem is when I try to visualize the reports in the browser it gives me the following error.

    Error registering the viewer with the service.
    An error has occurred.
    Object reference not set to an instance of an object.

    Also I analyze in detail my localhost/api/reports/formats this works correctly but localhost/api/reports/clients gives me the following error:

    "The requested resource does not support http method 'GET'."

    Can you help me with this please?

     

    Thank you.

  5. Nasko
    Admin
    Nasko avatar
    909 posts

    Posted 21 Mar Link to this post

    Hello Fernando,

    The Reporting REST service uses the following methods - REST API Reference. The server should be configured so it can handle these methods. More information can be found here.

    Regards,
    Nasko
    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
Back to Top