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

Configuration Error while running my website

5 Answers 120 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sunny
Top achievements
Rank 1
Sunny asked on 11 Feb 2009, 09:59 AM
Hello,

When i try to run my asp.net website it runs perfectly well on local machine.
But,
       when i publish & upload the website,and try to run the site, I get the following 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=2.9.9.202, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 76:     <httpHandlers>
Line 77:       <remove path="*.asmx" verb="*"/>
Line 78:       <add verb="*" path="Telerik.ReportViewer.axd" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=2.9.9.202, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"/>
Line 79:       <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
Line 80:       <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

/************************************************************************************************************************************************************************/

Please help me to solve the problem.

Thanks,
Jaspreet.

5 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 12 Feb 2009, 04:38 PM
Hello jaspreet,

Please review the TroubleShooting help article from our documentation that elaborates on the error.

All the best,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
jtby
Top achievements
Rank 1
answered on 14 Jan 2010, 11:47 PM
dead link - where is the article?
0
Steve
Telerik team
answered on 15 Jan 2010, 08:11 AM
Hi jtby,

I've updated the link so that it shows the correct help article. The answer to this error is:

During the installation of Telerik Reporting on dev machine, Telerik assemblies are added to GAC. When deploying a Web App/Site project using Visual Studio's built-in functionality, the assemblies from the GAC are not copied automatically, so they need to be copied manually from the installation’s Telerik Reporting /bin folder to the bin folder of your application. Full details are available in the Deploying Telerik Reporting in production KB article.

All the best,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
rozer
Top achievements
Rank 1
answered on 13 Apr 2013, 08:42 AM
i have same error in asp 4.0 vs2010.. can u please help
0
Elliott
Top achievements
Rank 2
answered on 15 Apr 2013, 07:38 PM
Sunny, rozer

I get this error when I publish a web site with a version of Telerik newer than the version up on the site, specifically, referred to in the production web.config
I've been using Telerik controls for 3 years now - and often several months go by (and more than one release) between updates to application code
when I publish and post the most recent copy it has the latest (and hopefully greatest) version of Reporting, etc.
the web config points to the version of the previous update
I keep on having to remember to pull down the production web config - and carefully update the Telerik references with hard coded versions to reflect those in my development web config
of course, I also update the dll's in the bin
Tags
General Discussions
Asked by
Sunny
Top achievements
Rank 1
Answers by
Steve
Telerik team
jtby
Top achievements
Rank 1
rozer
Top achievements
Rank 1
Elliott
Top achievements
Rank 2
Share this question
or