• Home
  • About
  • Resume

Correcting “ASP.NET AJAX client-side framework failed to load” error

By , 07/08/2009 11:40 AM

If you’re trying to use ASP.NET AJAX features (like Script Manager or Update Panel) in your ASP.NET 3.x website and getting “ASP.NET AJAX client-side framework failed to load” error, chances are your Web.config file is missing required sections. Fastest way to correct this is to create a new ASP.NET website in Visual Studio (you can delete it afterwards) and copy missing sections from the new web.config to the one in your web site.

Update: As churawut pointed out missing .AXD mapping in IIS configuration is another common source of this error (often this is done as security hardening on the IIS).  I encountered it while researching missing images in ASP.NET charts, and found out that underlying reason was missing/corrupt .AXD mapping in IIS.

22 Responses to “Correcting “ASP.NET AJAX client-side framework failed to load” error”

  1. PW says:

    Bless you.

    My blood pressure was going through the roof.

    I was beginning to freak.

    Lots of people were claiming that you could fix it by reinstalling .Net 3.5 SP1 (no change) downloading various components (no change) rebooting servers (no change) and sacrificing various animals to assorted deities (full moon not due for two weeks, customer deadline one week)…

    And a voice of sanity says “rebuild your Web.config”… and it was so.

  2. Yuriy says:

    @PW
    Glad no animals were harmed in building this code 🙂 This error usually happens when opening .NET 2.0 app in Visual Studio 2008. Sometimes it doesn’t offer upgrading to 3.x hence keeping the original Web.config

  3. PW says:

    The interesting (and annoying) thing is that it did – and I accepted the upgrade.

    This looks like there might be something funny going on.

    Even with a brand new .Net 3.5 SP1 web.config, Expression Web 3 keeps saying that the Silverlight media player element needs the site to be .Net 3.5 and do I want it to upgrade? I say yes, and as soon as I click on the silverlight element again, back comes the same message.

    Most odd – but I can live with it.

    What is odder is that both expression and VS will not show the WMV files I’ve got as media content in the “Media Source” browser, and the player won’t play them if I type them by hand. I guess I need to run them through Expression Encoder first, and use the output from that? No, that’s not done it. How odd.

    Sorry, I’m rambling. Many thanks for your help, anyway.

  4. Shilpa says:

    Thanks a lot. you saved my day 🙂

  5. churawut says:

    Solution found for this generic message with many solutions. Ours was that the AXD extension needed to be added to the IIS Application Extensions dialog.

    if you use .net framework more than one version please
    specify .axd execute from .net framework 2.0

  6. Iqbal says:

    Yaa really its very strange, i also tried to repair .Net 3.5 SP1 but no luck.
    I just replaced my web.config file with old one which was running without any problem and the error disapeard> :p
    Thanks to All who participated in this thread
    Iqbal

  7. William says:

    Thankyou!

  8. Wajeeh says:

    Thanks! That did it.

  9. Murugavel Raja says:

    Thanks a lot. This sorted out my problem

  10. Rebecca says:

    Wow!! THANK YOU!! Your suggestion really solved my problem.. Been banging my head on the wall..

  11. Haint83vn says:

    Many thanks 🙂

  12. Patrick says:

    Thank you to save my day . After number of times reinstall Dotnet frame work 3.5 SP1 not working. and i found this post working like a charm.

    Thank you!!!

  13. We tried to fix that problem since last one week, but problem was due to ScriptResource.axd and WebResource.axd. This both files were missing onto the Website path. Please paste both these files and your problem would disappear. 🙂

  14. csl says:

    what to you mean by the web site path

  15. csl says:

    what is the exact path for the website path?

  16. Ravi says:

    After Lots…… of Search I have Found Correct Solution Thanks
    m Looking Fwd To Your Post

  17. Kumar says:

    Hi All,

    I have faced the same problem and after many search, finally I have found the solution at the below link…

    http://www.logicsmeet.com/forum/91778-Ajax-client-side-framework-failed-to-load.aspx

    Regards,
    Kumar

  18. Inian says:

    the above solutions works fine… thanks kumar…

  19. Prashpaddy says:

    Thanks Yuriy,

    Bull’s eye

  20. Jim Scalia says:

    Yes! The solution as indicated in paragraph 1 about did the trick!!!

    Thanks,

    Jim

  21. Palani says:

    The solutions suggested by you worked fine….

    http://www.logicsmeet.com/forum/91778-Ajax-client-side-framework-failed-to-load.aspx

    Thanks…
    Palani

  22. Mohammed says:

    ISSUE AJAX Client Framework failed to load.

    Check the IIS Settings before you do anything. the above solution didn’t work for me but the below one worked for me.

    1. Under IIS in Handler Mappings look for ScriptResourceIntegrated-4.0
    2. On your right handside click edit Feature Permissions and check EXECUTE

Leave a Reply

Panorama Theme by Themocracy