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

Error registering the viewer with the service.

5 Answers 493 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
jihpa
Top achievements
Rank 1
jihpa asked on 15 Mar 2018, 02:45 AM

Hi. I have error page. (attached file)

We have four servers. only 1 server has this problem. All settings are same. I couldn't find any differences.

The report page has just a small circle shape.

I used default Html5ReportViewer1.html and aspx form which is created by Visual Studio new file menu.

 

When I use fiddler I got this message with URL /api/reports/clients.

 

{"message":"An error has occurred.","exceptionMessage":"개체 참조가 개체의 인스턴스로 설정되지 않았습니다.","exceptionType":"System.NullReferenceException","stackTrace":"   

위치: Telerik.Reporting.Cache.CacheStorage.AddInSet(String key, String value)\r\n   
위치: Telerik.Reporting.Services.Engine.PersistableCollection`1.NewItem(String newID, Action`1 initializeObject)\r\n   
위치: Telerik.Reporting.Services.Engine.ReportEngine.RegisterClient()\r\n   
위치: Telerik.Reporting.Services.WebApi.ReportsControllerBase.RegisterClient()\r\n   
위치: lambda_method(Closure , Object , Object[] )\r\n  
위치: System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)\r\n   
위치: System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)"}

5 Answers, 1 is accepted

Sort by
0
jihpa
Top achievements
Rank 1
answered on 15 Mar 2018, 02:49 AM
The Result code was 500 of the URL ( /api/reports/clients )
0
jihpa
Top achievements
Rank 1
answered on 15 Mar 2018, 02:50 AM
The Result code was 500 of the request. /api/reports/clients
0
jihpa
Top achievements
Rank 1
answered on 15 Mar 2018, 04:03 AM

This server has more web sites. but all of them have same problem.

by the way. /api/reports/formats was ok.

0
Iva
Top achievements
Rank 1
answered on 06 May 2019, 10:23 AM
I am having the same problem in just one of our servers. Did you find a solution about the problem it would be really helpful if you could share?
0
Silviya
Telerik team
answered on 07 May 2019, 07:39 AM
Hello Iva,

Please check this article for more information: Telerik.Reporting.Cache.CacheStorage.AddInSet NullReferenceException.

Best Regards,
Silviya
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
Tags
General Discussions
Asked by
jihpa
Top achievements
Rank 1
Answers by
jihpa
Top achievements
Rank 1
Iva
Top achievements
Rank 1
Silviya
Telerik team
Share this question
or