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

Web application not working after Telerik Upgrade

3 Answers 535 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dávid
Top achievements
Rank 1
Dávid asked on 05 Nov 2020, 09:54 PM

Hi,

I have recently upgraded Telerik Reporter Designer and Telerik package for Visual Studio for the newest available version which is possible to download from my company's account. Current Telerik Report Designer is R1 2018 and the Telerik.Reporting package in the project 12.0.18.416 - previously was 11.0.17.118.

For upgrading I have used Telerik Reporting Upgrade Wizard in Visual Studio. Everything worked fine, at least I thought so, because when I run the project locally, there is no problem. However, after uploading project to the dev environment the web application doesn't work. It throws error right from the start. Could you please tell me what am I doing wrong? How is it possible that everything work fine on the local machine and when uploaded to server it doesn't work at all? I'm attaching the printscreen of the error.

I really hoped that the upgrade will be smooth using the upgrade wizard and was very dissapointed to end up with broken project. I have spent many hours trying to find a solution, but I wasn't lucky.

Thank you in advance for any suggestions.

3 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 10 Nov 2020, 01:49 PM

Hi Dávid,

The error indicates that the assembly Telerik.Reporting.Services.WebApi or one of its dependencies cannot be loaded. You need to check whether all the needed assemblies are available in the deployment environment.

You may also use Fuslogvw to check which assembly cannot be loaded and why.

Regards,
Todor
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Dávid
Top achievements
Rank 1
answered on 11 Nov 2020, 04:05 PM

I have checked the bin folder in the built project and yes, there are the assemblies of Telerik.Reporting.Services.WebApi, however it is still the older version. I thought that the upgrade wizard will take care of updating the assembly to the newest version. How is it possible that locally it works and this problem occurs only on the remote server? How do I update the assembly?
Other libraries like Telerik.Reporting, Telerik.Reporting.XpsRendering and Telerik.ReportingViewer are in the correct version 12.0.18.416.
If it would help you to better understand the situation here our deployment process is not automatized yet, so it goes like this:
1. Publish project to a local folder

2. Copy the project to the remote server

3. Once on remote server, copy the project to the folder with the old project

Do I have to install something directly on the server? My current understanding is that all the required assemblies are gathered when building/publishing the project locally and the application is ready to be used on whichever server I choose.

0
Todor
Telerik team
answered on 16 Nov 2020, 08:38 AM

Hello Dávid,

Indeed, the Upgrade Wizard replaces the assemblies in the Visual Studio projects. It seems to have worked correctly, as your project was upgraded locally. Note that the Upgrade Wizard doesn't have control over the deployment process.

You need to check where are the Telerik Reporting assemblies taken from when deploying. We have seen similar problems in the past when older assemblies have been actually deployed from the GAC or other folders.

You may also manually replace the old Reporting assemblies with the new ones.

Regards,
Todor
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Dávid
Top achievements
Rank 1
Answers by
Todor
Telerik team
Dávid
Top achievements
Rank 1
Share this question
or