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

Incorrect value (null) deserialized

3 Answers 1592 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Kunal
Top achievements
Rank 1
Kunal asked on 04 Nov 2020, 01:10 AM

Hello,

I am using Telerik Report Designer HTML5. I had made some graphs and deployed it on one of my websites. It had been working fine for quite a few months now. However, today, our hosting provider restarted the server and when I opened my website, all of the graphs on it started giving the following error:

 

Error registering the viewer with the service.
An error has occurred.
Incorrect value (null) deserialized. Make sure you are using CacheStorage inside single-instance application deployment only.

 

I have not made any changes/modifications to the Reporting. The graphs also display on my local environment, but it doesn't work on the server. Attached screenshots show error messages that are being displayed.

I would be grateful for your assistance.

3 Answers, 1 is accepted

Sort by
0
Kunal
Top achievements
Rank 1
answered on 04 Nov 2020, 09:19 PM

I actually managed to solve this issue.

For anyone facing the same issue, the following two links helped:

https://www.telerik.com/forums/error-registering-the-viewer-with-the-service-c2c058bdfd4b

https://docs.telerik.com/reporting/knowledge-base/error-registering-the-viewer-with-the-service

Basically, permissions were not given on the folder that my report was trying to access. Hence, I changed the path to a new folder which has permissions and then built my code:

Storage = new FileStorage("C:\MyFolder"),

Hope this helps.

Cheers!

0
Huang Dau Lin
Top achievements
Rank 1
Iron
answered on 22 Dec 2022, 08:32 AM

Clear  this folder..  C:\Windows\Temp\Html5DemoApp 

That's ok!!

 

 

0
Logan Marshall
Top achievements
Rank 2
Iron
answered on 08 Jun 2023, 03:28 PM

we have this on a Linux azure app service.

simply restarting the azure app service resolved the issue.

 

When in doubt reboot. I know that’s a pre-canned and IT guy response however, in this case, we did not have to change any code in the application.

 

I hope that helps anyone as a first step measure to troubleshooting this and other problems :)

Wasenshi
Top achievements
Rank 2
commented on 23 Oct 2023, 06:43 AM

Do you know of any potential root cause of it?

My service hosted on AWS also gets the same problem out of the blue. (Restarted and gone)

Hope we can prevent it :)

Dimitar
Telerik team
commented on 25 Oct 2023, 12:13 PM

Hello,

Such a problem is known to occur when using FileStorage in production. This storage implementation is not recommended for such environments, and I would instead recommend either of the following:

Tags
Report Designer (standalone)
Asked by
Kunal
Top achievements
Rank 1
Answers by
Kunal
Top achievements
Rank 1
Huang Dau Lin
Top achievements
Rank 1
Iron
Logan Marshall
Top achievements
Rank 2
Iron
Share this question
or