Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.65 KB

File metadata and controls

41 lines (33 loc) · 1.65 KB
title Cannot Load File or Assembly
page_title Cannot Load File or Assembly Error Occurs
description Learn how to handle the error 'Cannot Load File or Assembly' which occurs when the system cannot load the required Telerik Reporting assemblies.
slug cannot-load-file-assembly-error
tags telerik, reporting, run, time, cannot, load, file, assembly, error, occurs
published true
type troubleshooting
res_type kb

Environment

Product Progress® Telerik® Reporting
Version Q2 2012 and later
Report Viewers WinForms, WPF, ASP.NET

Description

When deploying a project with Telerik Reporting on a server, I get the Could not load file or assembly 'Telerik.ReportViewer.WebForms, Version=x.x.x.x, Culture=neutral, PublicKeyToken=a9d7983dfcc261be (or one of its dependencies) error.

Cause

The system cannot find the specified file. During the installation of Telerik Reporting on a developer machine, the Telerik Reporting assemblies are added to GAC. When deploying a project by using the Visual Studio built-in functionality, the assemblies from the GAC are not automatically copied.

Solution

You need to make sure that the assemblies physically exist in the bin folder of your application. For the full details, refer to the Deploying Web Applications article.