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

7 posts, 0 answers
  1. Maheswari
    Maheswari avatar
    1 posts
    Member since:
    May 2007

    Posted 13 Oct 2017 Link to this post

    Hi,

    We have installed the latest version of Telerik reports version 11.2.17.913. After installation we removed all the old references and referenced the 11.2.17.913 version of DLLs. Added the latest JS file into our application.Now the problem is we are getting - "Error registering the viewer with the service.An error has occurred.Object reference not set to an instance of an object." on the report viewer. We are using MVC 5 and Visual Studio 2017. Can you please provide a solution ASAP?

    Thanks,

    Maheswari S.

  2. Katia
    Admin
    Katia avatar
    693 posts

    Posted 18 Oct 2017 Link to this post

    Hi Maheswari,

    The error in the attached screen shot points to the issue with the Reporting REST service. You can go though the steps provided in How To: Add Telerik Reporting REST Web API to Web Application help article and check if any settings are missing. 
    Additionally, run Upgrade Wizard in Visual Studio to make sure that the project references were updated correctly.

    If the issue persists we would need to check the settings of the viewer, the code in ReportsController and Global.asax.


    Regards,
    Katia
    Progress 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. R.D. Henry and Co.
    R.D. Henry and Co. avatar
    5 posts
    Member since:
    Jun 2013

    Posted 09 Oct 2018 in reply to Katia Link to this post

    I have had the reporting server for 2 years and today I am getting this error and nothing has changed so this must be different from the customer above.  What can I do about this?

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

  4. Todor
    Admin
    Todor avatar
    396 posts

    Posted 12 Oct 2018 Link to this post

    Hello Curtis,

    If I understood correctly, you use Telerik Report Server.
    Does the error occur in the integrated viewer of the Report Server Manager (while attempting to preview reports), or are you using a custom Web application that utilizes the Report Server to deliver reports?

    Generally, the error message indicates that the Report Server/REST Service supposed to deliver reports to the Html5 Report Viewer is not working, hence the client (viewer) cannot be registered with the service.

    Test re-starting the Report Server from the IIS.

    Regards,
    Todor
    Progress 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
  5. Alaa
    Alaa avatar
    1 posts
    Member since:
    Nov 2015

    Posted 13 Apr Link to this post

    I have telerik reporting service running on two applications on two different iis, and it works perfect, but suddenly it Iam getting this error on one of them, where should be the problem.

     

    regards

  6. Todor
    Admin
    Todor avatar
    396 posts

    Posted 17 Apr Link to this post

    Hello Alaa,

    The error indicates that the REST Service is not responding. If you haven't upgraded Telerik Reporting or changed anything else in the project, you may test to restart the service or the corresponding IIS. Check also the previous posts for other possible steps and help resources.

    Regards,
    Todor
    Progress 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
  7. areal
    areal avatar
    1 posts
    Member since:
    Jul 2019

    Posted 26 Jul in reply to Maheswari Link to this post

    I have the same problem, after the server suddenly dies, when it turns on the problem as you experience appears.
    Has your problem been resolved, how to do it
Back to Top