Telerik.Web.UI.WebResource.axd is missing in web.config

2 posts, 0 answers
  1. hillarie
    hillarie avatar
    1 posts
    Member since:
    May 2015

    Posted 28 May 2015 Link to this post

    Our ASP.NET web forms project was updated from .NET 3.5 to .NET 4.5. This also meant we switched from Classic to Integrated pipeline mode for the App Pool. I began to see this error on pages that loaded the Telerik controls.


    '~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config. Please, use
    the control Smart Tag to add the handler automatically, or see the help for more information: Controls > RadScriptManager 


    After referencing the following webpages:


    I made the following changes...

    I removed <httpHandlers> and <httpModules> from <system.web>

    I removed the reference to the .NET 2 Telerik.Web.Design and Telerik.Web.UI DLLs, and added a reference to the .NET 4 DLLs.

    I added <add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" /> to the <system.webServer><handlers> section of web.config.


    On my local workstation, this fixes the problem.

    But, moving to our test web server, it still throws the same exception.

    Test Server is confirmed running Windows Server 2008, IIS7, Integrated pipeline mode, .NET 4.5.

    I've also tried leaving the <httpHandlers> in place, but that didn't work, either.

                <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
                <add verb="*" path="Telerik.ReportViewer.axd" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />

  2. Ianko
    Ianko avatar
    1875 posts

    Posted 02 Jun 2015 Link to this post

    Hello Hillarie,

    All information and requirements regarding the web.config are available in this help article—

    As I can see, the handler in the httpHandler section is incorrect, and this might be the reason for the issue. The correct one:
    <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />

    If this does not help, make sure that configuration are proper as per to the recommendation examined in the help article above. 

    If this does not help, make sure that the web.config is deployed properly and all handlers exists on the server. Also, make sure that the assemblies are deployed, and if they are referenced from the GAC, make sure that the handlers are registered with fully qualified names. 

    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 Feedback Portal and vote to affect the priority of the items
Back to Top