RadScriptManager Causes "ASP.NET Ajax client-side framework failed to load" Error.

12 posts, 0 answers
  1. David
    David avatar
    5 posts
    Member since:
    Aug 2008

    Posted 24 Sep 2008 Link to this post

    I am working in C# for ASP.NET in Visual Studio version 2008.  I recently updated my environment to include the following:$0* 3.5 .NET Framework Service Pack.$0$0* 2008-08-20 release of the AJAX Control Toolkit.$0$0$0$0$0As soon as I made the upgrades listed above I started to receive the following message: 'ASP.NET Ajax client-side framework failed to load.'$0$0$0$0$0The error occurs due to the presence of the Telerik RadScriptManager control on a page.  If I replace that control with the standard AJAX ScriptManager control the error goes away.$0$0$0$0$0Any information you could provide would greatly be appreciated.$0$0$0$0$0Thank You,$0$0$0$0$0David Nowak.$0
  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 24 Sep 2008 Link to this post

    Hi Dave1,

    We discovered recently some limitations in RadScriptManager, happening after the install of .NET Framework 3.5 SP1. Can you please, help us identify if you face the same? Are you registering some ScriptReferences to the <Scripts> property of RadScriptManager?

    Can you send us your page (a formal support ticket will allow the file attachment and will keep it private).

    Best,
    Erjan Gavalji
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. David
    David avatar
    5 posts
    Member since:
    Aug 2008

    Posted 24 Sep 2008 Link to this post

    I have a small project that consistenly demonstrates this issue--how do I send it to you?
  4. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 24 Sep 2008 Link to this post

    Hi Dave1,

    You can start a regular support ticket from your Client.NET account and submit the sample project attached to it (along with a short description). Thus we will be able to test/debug it locally and advice you further.

    Best regards,
    Stephen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. John Colbert
    John Colbert avatar
    3 posts
    Member since:
    Aug 2008

    Posted 12 Jan 2009 Link to this post

    Has this issue been resolved?
  6. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 13 Jan 2009 Link to this post

    Hi John,

    The issue reported here should be addressed in the latest version 2008.3.1125 of RadControls for ASP.NET AJAX.

    Note that this error can also be generated when you have not granted permissions tfor the Telerik.Web.UI.WebResource.axd http handler to all users (through the web.config file). Review the relevant section of this help topic for more details.

    Best regards,
    Sebastian
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  7. Antonello
    Antonello avatar
    9 posts
    Member since:
    Sep 2011

    Posted 20 Oct 2011 Link to this post

    Hi,

    I have the same error in my application but i don't resolved.
    This is my tag Radscriptmanager in my page:
    <telerik:RadScriptManager ID="RadScriptManager1" EnableScriptCombine="false" runat="server">
            <Scripts>
                <asp:ScriptReference Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                    Name="MicrosoftAjax.js" Path="js/MicrosoftAjax.js" />
                <asp:ScriptReference Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                    Name="MicrosoftAjaxWebForms.js" Path="js/MicrosoftAjaxWebForms.js" />
            </Scripts>
        </telerik:RadScriptManager>

    I used framework 3.5, ajaxcontroltoolkit 3.5, system.web.extension 3.5 and telerik.web.ui 2008.1.515.20
    In  my file web.config added the following tags:
    <configuration>
    ....
    <location path="WebResource.axd">
        <system.web>
          <authorization>
            <allow users="*" />
          </authorization>
        </system.web>
      </location>
      <location path="ScriptResource.axd">
        <system.web>
          <authorization>
            <allow users="*" />
          </authorization>
        </system.web>
      </location>
      <location path="Telerik.Web.UI.WebResource.axd">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
    ....
    </configuration>

    <system.web>
    .....
    <httpHandlers>
          <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
          <add path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI"/>
          <add path="ChartImg.axd" verb="GET,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
          <remove verb="*" path="*.asmx"/>
          <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        </httpHandlers>
    </system.web>

    <system.webServer>


        <validation validateIntegratedModeConfiguration="false"/>
        <httpHandlers>
          <remove verb="*" path="*.asmx"/>
          <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>


        </httpHandlers>
        <modules>
          <remove name="ScriptModule"/>
          <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        </modules>
        <handlers>
          <remove name="WebServiceHandlerFactory-Integrated"/>
          <remove name="ScriptHandlerFactory"/>
          <remove name="ScriptHandlerFactoryAppServices"/>
          <remove name="ScriptResource"/>
          <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <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="*"/>
          <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*"/>
          <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*"/>
          <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*"/>
          <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*"/>
      </handlers>
      </system.webServer>



    Help me!
    Thanks
  8. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 20 Oct 2011 Link to this post

    Hi Antonello,

    Review the communication in this forum post and upgrade your AJAX controls to more recent version as the one you are using is quite old now (dating almost 4 years ago). Thus you should be able to eliminate any incompatibility issues between our controls and the MS AJAX toolkit.
     
    Regards,
    Sebastian
    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
  9. Antonello
    Antonello avatar
    9 posts
    Member since:
    Sep 2011

    Posted 20 Oct 2011 Link to this post

    Hi,

    I would not go to AjaxControlToolkit 4.0.... because my application is compiled with framework 3.5 and I used the other components that would not work.
    Is there a solution for my problem with my components ajax vs telerik?
    But If I used ajaxcontroltoolkit 3.5.40412.0, framework 3.5 and I updated dll telerik from 2008 in 2010; can i resolved my problem?

    Thank you
  10. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 21 Oct 2011 Link to this post

    Hi Antonello,

    Can you verify that you are using the .NET 35 2010 version of our AJAX controls along with the AJAX toolkit .NET 35 version? This should help you use both side by side, although to ensure that all compatibility issues will be eliminated, we recommend using the most recent version of our AJAX components.

    Regards,
    Sebastian
    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
  11. Antonello
    Antonello avatar
    9 posts
    Member since:
    Sep 2011

    Posted 24 Oct 2011 Link to this post

    Hi,

    I used in my application AjaxToolkit 3.5.50972.0 (version of 35), but i used the version telerik.web.ui.dll 2008.1.515.20
    The problem may be because the version of telerik but is the last version we fired.

    Thank you.
  12. Travis
    Travis avatar
    226 posts
    Member since:
    Jan 2003

    Posted 04 Mar 2013 Link to this post

    My problem was the incorrect version in web.config for the WebResource.axd handler.  It neede to be the latest version:

    <handlers>
          <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2013.1.220.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
             name="Telerik.Web.UI.WebResource"/>
        </handlers>
Back to Top