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

Website publishing error

1 Answer 65 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 28 Oct 2010, 12:55 PM
I am using the telerik report control. On my local machine it runs fine, but when I publish to the website using VS2008 i get this error when I am trying to run it.

Server Error in '/' Application.
--------------------------------------------------------------------------------
  
Configuration Error 
Description: An error occurred during the processing of a configuration file required to
service this request. Please review the specific error details below and modify your configuration
file appropriately. 
  
Parser Error Message: Could not load file or assembly 'Telerik.ReportViewer.WebForms, Version=4.1.10.921,
Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies.
The system cannot find the file specified. (C:\Inetpub\CEMM\web.config line 45) (C:\Inetpub\CEMM\web.config line 114)
  
Source Error: 
  
  
Line 112:    <httpModules>
Line 113:      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 114:      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
Line 115:      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
Line 116:    </httpModules>
   
  
Source File: C:\Inetpub\CEMM\web.config    Line: 114 
  
  
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618

Line 114:      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />

Is there a dll file I can physically move to fix this problem and if so what is it called?

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 29 Oct 2010, 05:04 PM
Hello William,

You are most probably missing the Telerik.ReportViewer.WebForms assembly. During the installation of Telerik Reporting on your machine, the Telerik assemblies were added to GAC. When deploying a Web Site project the assemblies from the GAC are not copied automatically, so you need to copy the assemblies manually from the installation’s Telerik Reporting /bin folder to the bin folder of your application. 

For more information check out the Deploying Applications using Telerik Reporting help article.

Best wishes,
Peter
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
William
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or