Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Ajax > ASP.NET Ajax client-side framework failed to load
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered ASP.NET Ajax client-side framework failed to load

Feed from this thread
  • Daron Intermediate avatar

    Posted on Jan 28, 2008 (permalink)

    I'm starting to pull my hair out with these Telerik Ajax controls.

    I had been developing under IE7 and realised I should probably check compatibility with IE6. Only to my horror, I was presented with an almost impossible-to-debug error message:

    ASP.NET Ajax client-side framework failed to load

    I have several telerik controls on the page, and using the RadScriptManager (as suggested).

    On a daily basis I seem to be taking one step forward and two backwards.

    If the fix for this is something in web.config, please tell me the entries I need since there's so many in there now and I just want to know the ones needed to get Telerik (finally) working.

    Cheers

  • Maria Ilieva Maria Ilieva admin's avatar

    Posted on Jan 30, 2008 (permalink)

    Hi Daron,

    Could you please elaborate a little bit more on the issue you are facing. The error actually shows that the MS AJAX framework failed to load and not our RadAjax directly (RadAjax Prometheus is based on MS AJAX).
    Could you please verify if the error appears, if you remove the Telerik controls from the page and use only AjaxUpdatePanel for example.
    We suspect that the reason for this error is that your site is not Ajax Enabled. Please verify this (check web.config for handlers/modules etc.) and if this is the cause of this issue check the following link, which should helps you in this matter.

    Best wishes,
    Maria Ilieva
    the Telerik team

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

  • Zyguy avatar

    Posted on Feb 3, 2008 (permalink)

    I am having the same issue. This error showed up as soon as I updated to the latest set of RadControls that I purchased last week.

    I have the latest .NET 3.5 and AJAX controls installed on the server.


  • Zyguy avatar

    Posted on Feb 3, 2008 (permalink)

    Followup: It seems I had Compilation Debug="True" in my web.config.

    When I set this back to
    <compilation debug="False" strict="false"

    the error about ASP AJAX not being loaded goes away.  So either debug mode being 'true' somehow stimulates this problem, or the problem is simply hidden when not in debug mode.

    How can I confirm my AJAX is correctly loaded? I have followed the web.config template from this page: http://aspnet.4guysfromrolla.com/articles/121207-1.aspx
    and adapted it to my Dotnetnuke 4.5.3 web.config.     

  • Daron Intermediate avatar

    Posted on Feb 4, 2008 (permalink)

    Hi Zyguy,
    Thanks for the response. Unfortunately disabling debugging is not an option for me as this is an invaluable tool that I'm not prepared to (and shouldn't have to) live without.

    After trying several different things to fix the problem, I eventually resorted to a format and re-installation of Windows. Then, I made sure I *didn't* install the Telerik controls (just utilising the dll in my bin folder) and all is good again! Ajax framework loads up fine.

    I'm very hesitant to install the controls again lest I ruin my currently operational machine...

    Cheers,
    Daron

  • Ian Bowyer avatar

    Posted on Sep 24, 2008 (permalink)

    Hi Daron

    I was getting similar problems to you and found the following article useful.

    http://www.telerik.com/help/aspnet-ajax/troubleshooting.html

  • Jeff Nafe avatar

    Posted on Jan 30, 2009 (permalink)

    Make sure that the axd file extension is mapped for the site within IIS and that it's Verify File Exists box is NOT checked.

  • Dan avatar

    Posted on Feb 6, 2009 (permalink)

    I was getting this error this morning on my development machine. I could not fix it until I noticed that my system date was off by 1 month (don't know how this happened). When I fixed the date, the problem went away. Go figure.


  • Steve Boulanger avatar

    Posted on Feb 15, 2010 (permalink)

    I had luck solving this issue by going into IIS, right clicking on my website and selecting properties, clicking Configuration under the Application settings section, and removing an old value under Wildcard application maps. 

  • Amirtha S avatar

    Posted on Feb 28, 2010 (permalink)

    This post helped me solve my problem, http://forums.asp.net/t/1489077.aspx

  • Ed Davis avatar

    Posted on Jul 26, 2010 (permalink)

    so what do you do if there is no axd file to? The telerik.web.ui.dll is not in the GAC and i have been unable to get it to add to the gac for sometime now... it sets up as an auto refreshing reference... None of the suggestions so far seem to work to resolve the same issue that I'm experiencing.

  • Maria Ilieva Maria Ilieva admin's avatar

    Posted on Jul 29, 2010 (permalink)

    Hello Ed,

    I would suggest you to closely review this article in the product documentation.

    You may also try replacing temporary RadScriptManager with asp ScriptManager or set its EnableScriptsCombine property to false to compare the results. Additionally, make sure you use the latest version 2010.2.713 of the suite.


    Kind regards,
    Maria Ilieva
    the Telerik team

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

  • Ravi Kirpane avatar

    Posted on Jul 29, 2010 (permalink)

    This link definitely helped resolving this issue
    http://forums.asp.net/t/1489077.aspx

  • Chase Huber avatar

    Posted on Sep 9, 2010 (permalink)

    I am having this problem, using version 2010.2.826.40.
    I went through line by line web.config with a known working virtual directory under the same parent web application, they are the same.
    The parent web site's web.config does not contain the HttpHandler ordering problem described on the ASP.NET Ajax site.
    This is on Windows Server 2003 x86 Standard/IIS 6.0

     Setting EnableScriptCombine="false" fixed the problem.

  • Posted on Sep 10, 2010 (permalink)

    I also had this problem today.

    It was caused by a <base href="http://www.mysite.com"> on the page.
    So in my development environment all axd's could not be found and resulted in 

    ASP.NET Ajax client-side framework failed to load.

    Hope this helps someone.

    Marc

  • Krisztian avatar

    Posted on Apr 1, 2011 (permalink)

    Everything was working fine on my local development machine but on the web server I could not get the AJAX part to work.

    I was getting "Sys is not defined" JavaScript error messages all the time.

    <telerik:RadScriptManager ID="RadScriptManager" EnableScriptCombine="false" runat="server" />

    Thank you so much. I had to set EnableScriptCombine to false too to get this to work.

  • Christian avatar

    Posted on May 9, 2011 (permalink)

    Just an FYI in case someone runs into the same issue...

    Background:
    I got this error on a recently upgraded application (ASP.NET 3.5 -> ASP.NET 4.0 plus a RadControls for ASP.NET AJAX version upgrade) . One thing to note is that there was no compilation error output to the browser.  The controls would render on the page, but JS events would not fire.  I launched the Firebug console on a page with issues, and found I was getting "ASP.NET Ajax client-side framework failed to load" and "Sys is undefined" client-side errors.  I added the location tag with authorization for all users as directed in the troubleshooting post referenced many times in this thread, but that did not work.  I double-checked the handlers and modules sections in the web.config, and BINGO!  All the entries under system.webServer had a "runtimeVersionv2.0" parameter declared in the preCondition attribute.

    web.config after upgrading the project to ASP.NET 4.0 and the latest Telerik release in VS 2010
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <modules>
            <remove name="RadUploadModule"/>
            <remove name="RadCompression"/><add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode,runtimeVersionv2.0"/>
            <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode,runtimeVersionv2.0"/>
        </modules>
        <handlers>
            <remove name="ChartImage_axd"/>
            <remove name="Telerik_Web_UI_SpellCheckHandler_axd"/>
            <remove name="Telerik_Web_UI_DialogHandler_aspx"/>
            <remove name="Telerik_RadUploadProgressHandler_ashx"/>
            <remove name="Telerik_Web_UI_WebResource_axd"/><add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
            <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
            <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
            <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
            <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
        </handlers>
    </system.webServer>

    Clearly this is going to cause a problem on a site running 4.0.

    Solution:
    I edited the web.config file and removed the "runtimeVersionv2.0" parameter declared in the preCondition attribute (including the leading comma) from every tag in system.webServer where one existed.  I saved the web.config file and restarted the web site in IIS Manager.  The application worked properly after that.

    I assume these extra runtime parameters were added when I originally ran the Telerik project configuration module in Visual Studio 2008 for this application when I wrote it in 3.5.  Then when I upgraded the project to 4.0 in Visual Studio 2010 and used the Telerik project configuration module  to upgrade the Telerik DLL by selecting the latest version of the DLL from the dropdown, the automated tool must have missed removing these parameters for some reason.  If this is by design, I would like to know how I could have prevented it.

  • Scott avatar

    Posted on May 26, 2011 (permalink)

    Christian's solution was exactly what I needed.  Just ran into the exact same problem.  Removed all of the "runtimeVersionv2.0" stuff and I was back in business.  Thanks!

  • Daniel avatar

    Posted on Jun 30, 2011 (permalink)

    "EnableScriptCombine = false" solved my issue.

    was upgrading my previous project treeview to radtreeview and i was getting the message; and my treeview was unclickable :D setting enablescriptcombine to false solved the issue.

    What does it actually do? will it have any impact on other things if set to false? 
     
    Thanks

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Ajax > ASP.NET Ajax client-side framework failed to load