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

Could not load file or assembly 'Telerik.ReportViewer.WebForms, Version=10.1.16.615, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its d

2 Answers 2747 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mahendra
Top achievements
Rank 1
Mahendra asked on 23 Mar 2017, 05:02 AM

Hi Support,

We are tried to setup web application on new server

We have install the telerik reporting on new server but still we are getting the following error

"Could not load file or assembly 'Telerik.ReportViewer.WebForms, Version=10.1.16.615, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified."

For more error details please find the attached  snap

Please suggest/Guide

Thanks

Mahendra

 

2 Answers, 1 is accepted

Sort by
0
Mahendra
Top achievements
Rank 1
answered on 23 Mar 2017, 11:31 AM

I am able to resolve the this issue using following stpes: 

1)  First Check the project include dll version for telerik and install application  assemblies version for telerik

to check ddl version use following powershell command for windows app

2) You can check the dll version and token using following powershell command

([system.reflection.assembly]::loadfile("C:\inetpub\wwwroot\BaseDataLive\bin\Telerik.ReportViewer.WebForms.dll")).FullName

and check the version from your web.config 

If both are same then your problem is resolved otherwise just change the version of telerik 

 

 

0
Stef
Telerik team
answered on 23 Mar 2017, 03:23 PM
Hi Mahendra,

Telerik Reporting installation is not required on the server machine. Assemblies can be Bin-deployed. The error indicates that Telerik.ReportViewer.WebForms.dll is not deployed along with the other published files in the Bin folder.
For more details, please check Deploying Web Applications.

You can copy the assembly in the Bin folder and restart the web site in IIS to load the assembly.

Regards,
Stef
Telerik by Progress
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
Mahendra
Top achievements
Rank 1
Answers by
Mahendra
Top achievements
Rank 1
Stef
Telerik team
Share this question
or