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

Multiple handlers entries in web config

2 Answers 207 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 07 Jun 2016, 05:46 PM

i am running sharepoint 2013 in a dev environment. when i restart the application server, all of my web applications show a 505 error. when i look in the web config of each web application i see the following. once i remove or comment out one of the lines, my web applications work fine until i restart the application server, then the second entry is re added to the web config of each of the web applications

<add name="Telerik.Web.UI.WebResource.axd_*" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2015.1.225.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
      <add name="Telerik.Web.UI.WebResource.axd_*" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2015.2.624.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />

2 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 10 Jun 2016, 02:30 PM
Hello Eric,

Typically, in the web.config you should have handler references and safe control directives with fully qualified name that targets a single version of the Telerik components. 

This might be due to custom web parts referencing different versions of the assembly or third-party SharePoint solutions that internally use Telerik.Web.UI, but currently I can only make guesses why restarting the application server adds further configuration to the web.config. 

You can try solving this issue by adding a binding redirect for the Telerik.Web.UI assembly—https://msdn.microsoft.com/en-us/library/eftw1fys(v=vs.110).aspx.

Regards,
Ianko
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Robert
Top achievements
Rank 1
answered on 25 Jul 2017, 02:56 PM

Hi Eric,

Did you find a resolution to this problem?  I am having the same issues in my development environment.

Rob

Tags
Sharepoint Integration
Asked by
Eric
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Robert
Top achievements
Rank 1
Share this question
or