Multiple handlers entries in web config

2 posts, 0 answers
  1. Eric
    Eric avatar
    1 posts
    Member since:
    Jun 2016

    Posted 07 Jun Link to this post

    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. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 10 Jun Link to this post

    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.

Back to Top