<add verb="*" path="Telerik.ReportViewer.axd" type = "Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=3.2.9.1211, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
Line 48: </httpHandlers>
Line 49: <httpModules> ,
and then it says it cant find it.) If I delete it, it tells me to insert it. If I insert it, it says it cant find it. Any ideas?
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=3.2.9.1211, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.
Source Error:
|
Source File: E:\readinessandsustainmentwebsite\ActiveWebPages\MPFMods\web.config Line: 47
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.ReportViewer.WebForms, Version=3.2.9.1211, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' could not be loaded.
|
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
8 Answers, 1 is accepted
The original warning you receive explains that you should register the handler for the web report viewer in the httphandlers section in the web config. However if you're hosting the application in IIS7, there is a different section to add the handler to, namely the <system.webServer>\<handlers> section:
<
system.webServer
>
<
handlers
>
<
add
name
=
"Telerik.ReportViewer.axd_*"
path
=
"Telerik.ReportViewer.axd"
verb
=
"*"
type
=
"Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=3.2.9.1211, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
</
handlers
>
<
validation
validateIntegratedModeConfiguration
=
"false"
/>
</
system.webServer
>
Generally you should not have to make these modifications manually since adding a report viewer to your web site/app automatically adds the necessary registration. The problem in your case is probably due to the fact that you have not uploaded your entire project to the server, otherwise the web.config from your project would have those registrations present. You can copy that web.config and see if that makes a difference, just in case I have attached a working web.config for your convenience.
As for the second error - it clearly states that it cannot find a necessary assembly you're referencing. 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 on the server. Full step by step instructions on deploying are included in the Deploying Applications using Telerik Reporting help article.
All the best,
Steve
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.

When I tried to deploy one of my websites I got the following error message. But I have included all the necessary dll files in the assembly section of the web config file. I have also included the handlers in the appropriate section of the web config file. What else should I do to resolve this error message?
Thanks,
Deepa
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.Reporting, Version=4.0.10.423, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The module was expected to contain an assembly manifest.
Source Error:
Line 280: <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> Line 281: <add assembly="System.Web.RegularExpressions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> Line 282: <add assembly="Telerik.Reporting, Version=4.0.10.423, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"/> Line 283: <add assembly="Telerik.ReportViewer.WebForms, Version=4.0.10.423, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/> Line 284: <!--<add assembly="Telerik.Reporting.Service, Version=4.0.10.423, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>--> |

Hope this helps.

Thanks for the quick response. I will try that.
Deepa

Hi Steve,
I am trying to deal with the same error as Philip:
Error 1 Could not load file or assembly 'Telerik.ReportViewer.WebForms, Version=3.2.9.1211, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified. C:\Documents and Settings\AC35433\My Documents\AAData\Web.config 35
I already have registered the handler for the web report viewer in the httphandlers section in the web config.:
<
system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<
modules>
<
remove name="ScriptModule"/>
<
add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</
modules>
<handlers>
<
remove name="WebServiceHandlerFactory-Integrated"/>
<
remove name="ScriptHandlerFactory"/>
<
remove name="ScriptHandlerFactoryAppServices"/>
<
remove name="ScriptResource" />
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<
add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<
add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>
<add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler"/>
<
add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=3.2.9.1211, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode,runtimeVersionv2.0"/>
</
handlers>
</
system.webServer>
Please let me know what I am doing wrong??
Philip has already provided insight as to what the problem is in his post from Jun 25, 2010, namely you have not deployed the project correctly. More info is available in the Deploying Web Site help article.
All the best,
Steve
the Telerik team

The Telerik Team clearly tells you to "copy the assemblies manually from the installation’s Telerik Reporting /bin folder to the bin folder of your application on the server"
To automate this process, under your project Reference, right click on Telerik.ReportViewer.WebForms and click Properties. Make sure that the Copy Local property is set to True. And do the same for the Telerik.Reporting reference.
It's quite handy!
Navnit

Tanks