IIS7 and Telerik.Web.UI.WebResource.axd' is missing in web.config

28 posts, 0 answers
  1. Stephen
    Stephen avatar
    19 posts
    Member since:
    Mar 2008

    Posted 18 Jun 2008 Link to this post

    Hello,

    I am running Windows Server 2008 (IIS7) and am getting the following error:

    '~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config.

    I have already found information in the forum and your troubleshooting guides about moving the Telerik handler from the HttpHandler section to the system.webServer handlers area.  I have this in my web.config:

    <system.webServer> 
        <handlers> 
        ...     
        <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" 
             name="Telerik.Web.UI.WebResource"/> 
        </handlers> 
        ... 
    </system.webServer> 

    However, when I try to run my page that has an RadScriptManager on it, I get the error mentioned earlier.  The handler does not appear to be loading.

    Any help with this would be appreciated.

    Thanks,
    Stephen

  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1411 posts
    Member since:
    Sep 2012

    Posted 19 Jun 2008 Link to this post

    Hi Stephen,

    Please, change the version of the assembly name in the HttpHandler registration to match the version of the Telerik.Web.UI assembly, e.g.

    type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.515.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

    FYI, if you won't deploy the Telerik.Web.UI assembly to the GAC, you can safely remove the version information and use the short type name, e.g.

    type="Telerik.Web.UI.WebResource, Telerik.Web.UI"

    Let me know if that helps.

    Kind regards,
    Erjan Gavalji
    the Telerik team


    Instantly find answers to your questions at the new Telerik Support Center

  3. Adam L. Ooten
    Adam L. Ooten avatar
    86 posts
    Member since:
    Sep 2005

    Posted 18 Aug 2008 Link to this post

    We have this same problem, and this change did not fix it for us.  Any other ideas?

  4. Daniel
    Admin
    Daniel avatar
    4788 posts
    Member since:
    Dec 2014

    Posted 19 Aug 2008 Link to this post

    Hello Adam,

    Please delete all rows wrapped in <httpHandlers> section in your web.config and then go to Design mode. Click on the smart tag near on your RadScriptManager and choose Register Telerik.Web.UI.WebResource.axd.
    Afterward you may try to move the above mentioned handlers to system.webServer.

    This link also would be helpful:
    General Troubleshooting

    Regards,
    Daniel
    the Telerik team


    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  5. Adam L. Ooten
    Adam L. Ooten avatar
    86 posts
    Member since:
    Sep 2005

    Posted 20 Aug 2008 Link to this post

    Is there a reason why the RadScriptManager would not show in design view for VS 2005?  Because it does not for me....

  6. Alan
    Alan avatar
    6 posts
    Member since:
    Aug 2008

    Posted 20 Aug 2008 Link to this post

    i had this error too, for me the dll file version was wrong.. so maybe check that.

  7. Daniel
    Admin
    Daniel avatar
    4788 posts
    Member since:
    Dec 2014

    Posted 21 Aug 2008 Link to this post

    Hello Adam,

    I cannot reproduce this issue - take a look at the screenshot I attached. Could you please try to create a new project and check if the problem still persists?

    Regards,
    Daniel
    the Telerik team


    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  8. W
    W avatar
    2 posts
    Member since:
    Mar 2009

    Posted 11 Mar 2009 Link to this post

    Even though your OS has IIS7, your project may be configured to use the ASP.NET Development Web Server when you run your project (by pressing F5). For me, I added the handler definition to BOTH sections of the web.config, once in /configuration/system.webServer/handlers and again in /configuration/system.web/httpHandlers, using the short type notation mentioned by Erjan.

    I added it to both because I wanted to debug locally using Visual Studio's WebDevServer as well as show it to others on my team using IIS7.

    I also took out the strong typing information and used the short notation simply because it's not needed unless you're loading out of the GAC or targeting a specific version... Complications for down the road!

    Wes

  9. Nick
    Nick avatar
    139 posts
    Member since:
    Mar 2006

    Posted 05 May 2009 Link to this post

    Unless you work in a multi-programmer environment where you need to make sure the correct version is deployed.  We do not use the GAC but we leave the embedded version #'s to make sure there's not an accidentally backward (or forward) deployment of the library.  This is not so bad now that it's a single DLL.

  10. Jack
    Jack avatar
    6 posts
    Member since:
    Jun 2008

    Posted 27 Sep 2009 Link to this post

    HI,

    The same issue along me, our project under vs2008 in windows 7 and we use both telerik ajax.net and silverlight in it. our login page need the ajax to validate user, and I config the web.config as your advise all above, but I alway get the message  ASP.NET Ajax client-side framework failed to load. in the firebug I can see 

     

    GET Telerik.Web.UI.WebResource

    404 Not Found

    localhost

    5 KB

     

     

    thanks

     

    INSIGNIA. Jack

  11. Nick
    Nick avatar
    139 posts
    Member since:
    Mar 2006

    Posted 27 Sep 2009 Link to this post

    Make sure you are running your app pool in classic mode.

    Try adding this to your web config, especially if it starts working after you login.   Basically the security can block access to the axd call.

     

    <location path="Telerik.Web.UI.WebResource.axd">  
            <system.web> 
                <authorization> 
                    <allow users="*" /> 
                </authorization> 
            </system.web> 
        </location> 

     

     

     

  12. Jack
    Jack avatar
    6 posts
    Member since:
    Jun 2008

    Posted 27 Sep 2009 Link to this post

    OH,thanks

    It work now, it isn't  the permission issue, it seem to be the  DLL under GAC or the bin of projects, if the dll under the bin, the version information of  Telerik.Web.UI.WebResource.axd must be empty, other way if it in the GAC , the version information will identify the dll. so I remove the version information, and it work well.

    Thanks you anyway.

    Jack

    INSIGNIA

     

     

  13. Chris Tybur
    Chris Tybur avatar
    2 posts
    Member since:
    Apr 2008

    Posted 06 Jan 2010 Link to this post

    Here is one more bit of information for anybody trying to use Telerik controls under SharePoint 2007 with IIS7. I was getting the generic 'An error has occurred' SharePoint message when my web part that uses Telerik controls tried to load. Here is the solution:

    If the app pool for your SharePoint site is set to Classic mode rather than Integrated, you'll need to add an entry for the handler under <httpHandlers> as described for IIS 5/6. If the app pool is set to Integrated mode then you'll need to add the handler to <system.webServer> as described for IIS 7. The usual caveats regarding GAC deployment versus bin apply, like needing to include the version number of the assembly when it's stored in the GAC, etc. I added entries to both sections and things seem to be fine.

    Note to any Telerik people reading this: the documentation on adding the handler for IIS 7 says "When in Integrated mode, IIS7 reads the application configuration from the <system.webServer> section group in the application configuration file". That's all well and good, but it doesn't go on to say what is required when not in Integrated mode. One sentence saying you have to fall back to the IIS 6 instructions in that case would be useful.

  14. Sebastian
    Admin
    Sebastian avatar
    9847 posts
    Member since:
    Sep 2012

    Posted 12 Jan 2010 Link to this post

    Hello Chris,

    Thank you for the reasonable remark - the corresponding help topic will include this additional info for the next version of the documentation. I updated your Telerik points for pointing this detail out.

    Kind regards,
    Sebastian
    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.

  15. Annie
    Annie avatar
    12 posts
    Member since:
    Jul 2010

    Posted 30 Mar 2011 Link to this post

    Hello,

    I'm having the same issue.  Getting the "'~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config." error.

    My configuration : 

    • Windows 7
    • IIS 7
    • Application Pool running asp.net V2.0 with Integrated pipeline.
    • Telerik.Web.UI.DLL is NOT in my GAC.
    • The application is using .NET 3.5 with Telerik ASP.NET AJAX controls version 2009.2.920.35.

    BTW, design mode is not working.  I'm getting the "Failed to create designer ' error.
    In my web.config, I tried :
            <httpHandlers>
                <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2009.2.920.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
            </httpHandlers>

    AND
             <httpHandlers>
                <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" />
            </httpHandlers>

    Both of them not working.  

    If I put in the <system.webserver><handlers>, then the compiler generates an error : "Unrecognized configuration section system.webserver".

    I have no idea what I can try next.   Any thoughts?   

    Thank you,
    Annie








  16. Sebastian
    Admin
    Sebastian avatar
    9847 posts
    Member since:
    Sep 2012
  17. Annie
    Annie avatar
    12 posts
    Member since:
    Jul 2010

    Posted 31 Mar 2011 Link to this post

    Hi Sebastian,

    Thank you so much.  The links you provided helped me solve my problem!

    Annie

  18. WhiteKnight
    WhiteKnight avatar
    1 posts
    Member since:
    Dec 2011

    Posted 04 Dec 2011 Link to this post

    Hello Jack, alls

    With IIS7, When i removed the version info, this problem resolved.

    <system.webServer>
        <handlers>
           <add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
        </handlers>
    </system.webServer>

     
    But i have a new problem: If i use RadAjaxPanel and Gridview Popup edit form -> problem is: the popup not display when i click edit buton.
    How to fix this problem? please help! thanks.

  19. Vishmay
    Vishmay avatar
    10 posts
    Member since:
    Feb 2012

    Posted 20 Feb 2012 Link to this post

    Go to Design view of aspx file

    click on rad control that requires http handler(e.g. rad script manager)

    Click small arrow open RadScriptManager tasks
    then click link saying

    Register rad script on web.config

  20. Helmuth
    Helmuth avatar
    1 posts
    Member since:
    Aug 2007

    Posted 01 Mar 2012 Link to this post

    It seems that this problem is very common. 

    I have the same issue however none of the posted solutions have worked for me.

    I have IIS 7.5 running on W2008 R2 SP1

    I have this entry:

     45:     <handlers>
     46:       <add name="Telerik.Web.UI.WebResource" verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
     47:     </handlers>
    

    and this is the error I get

    Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'Telerik.Web.UI.WebResource'

    I have tried both ASP.NET 4.0 Classic and ASP.NET 4.0  with the same results

    Please help

    This is the server error:

    HTTP Error 500.19 - Internal Server Error

    The requested page cannot be accessed because the related configuration data for the page is invalid.



  21. Geek4Support
    Geek4Support avatar
    1 posts
    Member since:
    Jul 2012

    Posted 03 Jul 2012 Link to this post

    Hi,

    Hopefully you guys are not facing this issue now, if someone is still facing the issue as i was facing on my client website. I created a post so you guys might get some future references:
    http://blog.geek4support.com/telerik-web-ui-webresource-axd-is-missing-in-web-config-radscriptmanager-requires-a-httphandler-registration-in-web-config/

    If you issue still persists then update us on this forum.


    Thanks
    Geek4Support_Admin

  22. wsd wsd
    wsd wsd avatar
    2 posts
    Member since:
    Apr 2010

    Posted 26 Aug 2012 Link to this post

    I have the same Problem too i got an Error

    HTTP Error 500.19 - Internal Server Error

    when i Add this Tag
           <handlers>
    <add name="Telerik.Web.UI.WebResource" verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
    </handlers>

    I'm using AJAX Rad Control Q1 2102 in project based on framework 4  hosted on Godaddy ,
    when i comment the this Tag  in the webconfig the site loaded successfully but the radscript manager or loading panel does not work and and all the grid commands cause post back for all page  , I'm not happy for this issue ): .and hope any one can help ?

  23. Helen
    Admin
    Helen avatar
    1001 posts
    Member since:
    Dec 2014

    Posted 27 Aug 2012 Link to this post

    Hello,

    Did you review the following article, which discusses a similar problem?


    Kind regards,
    Helen
    the Telerik team

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.

  24. wsd wsd
    wsd wsd avatar
    2 posts
    Member since:
    Apr 2010

    Posted 27 Aug 2012 Link to this post

    First , Thanks Helen for Reply  .
    Yes i read this Article and all Articles i found on the other blogs related to this problem and i tried all the solutions but nothing , and i don't know the reason ??

  25. Baji
    Baji avatar
    8 posts
    Member since:
    Mar 2012

    Posted 20 Nov 2012 Link to this post

    >> To fix this problem..

    Go to IIS.

    Right click o Project Folder.--> Properties check the Application pool you are using..

    After checking that In IIS got the respective application pool properties and change the Pool running mode to classic.

    Thanks & Regards
    Baji.
    Glenwood Systems L.L.C.,

  26. Kuldeep
    Kuldeep avatar
    2 posts
    Member since:
    Nov 2013

    Posted 20 Nov 2013 Link to this post

    i am using telerik controls version 2010.1.415.35 and developed an application using Visual studio 2010. and first deployed it on window server 2003 with iis6 it is working fine. but when i deployed it again on window server 2008r2 sp1.most of telerik controls are strange menus not showing, radcombobox looks like readonly textbox and all. why it is going on please solve my problem.

  27. Marin Bratanov
    Admin
    Marin Bratanov avatar
    2848 posts
    Member since:
    Dec 2014

    Posted 20 Nov 2013 Link to this post

    Hi,

    For IIS7+ when the application pool is in integrated mode you need to add the HTTP handlers a little differently: http://www.telerik.com/help/aspnet-ajax/introduction-registering-the-httphandlers-on-windows-vista-iis-7-integrated-mode.html. I am also adding here a simple web.config file that shows all our handlers and modules registrations, so you can use it as base. If the handlers are not read properly the scripts the controls require will not be present on the page and thus the controls will not function.
    Another option is to use the scripts cdn for scripts and/or the skins cdn for the stylesheets.


    Regards,
    Marin Bratanov
    Telerik

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.

  28. Kuldeep
    Kuldeep avatar
    2 posts
    Member since:
    Nov 2013

    Posted 20 Nov 2013 Link to this post

    hi, Marin Bratanov thanks a lot I make the changes in handler and it is working fine. thanks dude.

Back to Top