This is a migrated thread and some comments may be shown as answers.

asp.net ajax failed to load

10 Answers 296 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Moon
Top achievements
Rank 2
Moon asked on 26 Oct 2008, 05:55 PM
First, I was getting the error:

  • ASP.NET Ajax client-side framework failed to load
  • 'Sys' is undefined
  • I looked at your troubleshooting, tried things there. Looked at the below forum post where you say it is a problem you found in 3.5:

    http://www.telerik.com/community/forums/thread/b311D-bgdmde.aspx


    I am having the same problem using 3.5 Visual studio 2008 as well.

    I am using the trial version however, and do not have an account to send you the project.

    What response did you give this individual to help them? I would like to purchase for the November special, but if I can't get it to work, there's no point.

    It works locally, but not when I load it to my webserver remotely. I have gone through the troubleshooting and added the lines they indicate:

    I have this:
       <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.2.1001.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />

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

    But the second thing above doesn't make sense, since it has its own little system.web inside the location, and I didn't know you could do that.

    Adding that causes it to stop erroring remotely, but none of my radtabstrips load on click, as they do locally.

    What can I do to get this to work painlessly locally and remotely?

    I have the trial version telerik.web.ui.dll and the telerik.web.ui.xml and the telerik.charting.dll and .xml in my /bin folder.

    thanks.

    Moon


    thanks.

    10 Answers, 1 is accepted

    Sort by
    0
    Veselin Vasilev
    Telerik team
    answered on 27 Oct 2008, 08:43 AM
    Hi Moon,

    Please make sure that the server you are deploying on has the Microsoft AJAX framework installed.
    If you developed your application using the .NET framework 3.5 then you need to install .NET framework 3.5 on the server as well.

    Greetings,
    Veselin Vasilev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
    0
    Moon
    Top achievements
    Rank 2
    answered on 27 Oct 2008, 03:03 PM
    It's a windows 2008 web server with 3.5 framework. I thought Ajax was built into that edition?

    http://www.asp.net/ajax/downloads/
    >>AJAX functionality is integrated in ASP.NET 3.5 SP1 and does not require any additional downloads.

    >>the standards-based JavaScript classes that are automatically included when using ASP.NET AJAX in ASP.NET 3.5 SP1.

    0
    Accepted
    Sacha Rice
    Top achievements
    Rank 1
    answered on 29 Oct 2008, 04:57 PM
    This is a known bug, which was solved in another thread.

    In IIS7 on Server 2008 change the AppPool of the application\website from Integrated Pipeline to Classic ASP.Net Pipeline.

    That should solve the problem.
    0
    Moon
    Top achievements
    Rank 2
    answered on 29 Oct 2008, 06:04 PM
    Is this a Telerik known bug or microsoft known bug?

    Will it be fixed in like Q4 Ajax?

    I am using the trial version, which evidentally is not Q3.

    thanks.
    0
    Moon
    Top achievements
    Rank 2
    answered on 30 Oct 2008, 03:30 PM
    that did it. thanks!
    0
    Veselin Vasilev
    Telerik team
    answered on 30 Oct 2008, 04:09 PM
    Hi Moon,

    I am glad that it works.

    In addition, you can check this article:
    How to enable IIS7 Integrated Pipeline mode


    Greetings,
    Veselin Vasilev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
    0
    Raventhorn
    Top achievements
    Rank 2
    answered on 02 Dec 2008, 03:05 AM
    I have this happen and it is NOT related to IIS 7...it happens in development because my machine is Windows Server 2003. I have tried the <location> tag and even removed my existing one to ensure it had no conflicts...no dice. I happens only when I use the RadScriptManager, not the ASP.NET Ajax ScriptManager control. I have checked my web.config and it looks correct...here is my handlers section:

    <httpHandlers> 
          <remove path="*.asmx" verb="*" /> 
          <add path="*.asmx" verb="*" type="System.Web.Services.Protocols.WebServiceHandlerFactory,System.Web.Services, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
           validate="false" /> 
          <add path="*" verb="HEAD,OPTIONS,PROPFIND,PUT,LOCK,UNLOCK,MOVE,COPY,GETLIB,PROPPATCH,MKCOL,DELETE,(GETSOURCE),(HEADSOURCE),(POSTSOURCE)" 
           type="Ektron.ASM.EkHttpDavHandler.EkDavHttpHandlerFactory" /> 
          <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" 
           validate="false" /> 
          <add path="ScriptResource.axd" verb="GET" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" 
           validate="false" /> 
          <add path="*.doc" verb="GET,POST" type="Ektron.ASM.EkHttpDavHandler.EkDavHttpHandlerFactory" /> 
          <add path="*.docx" verb="GET,POST" type="Ektron.ASM.EkHttpDavHandler.EkDavHttpHandlerFactory" /> 
          <add path="*.xls" verb="GET,POST" type="Ektron.ASM.EkHttpDavHandler.EkDavHttpHandlerFactory" /> 
          <add path="*.xlsx" verb="GET,POST" type="Ektron.ASM.EkHttpDavHandler.EkDavHttpHandlerFactory" /> 
          <add path="*.ppt" verb="GET,POST" type="Ektron.ASM.EkHttpDavHandler.EkDavHttpHandlerFactory" /> 
          <add path="*.pptx" verb="GET,POST" type="Ektron.ASM.EkHttpDavHandler.EkDavHttpHandlerFactory" /> 
          <add path="*.vsd" verb="GET,POST" type="Ektron.ASM.EkHttpDavHandler.EkDavHttpHandlerFactory" /> 
          <add path="*.vsdx" verb="GET,POST" type="Ektron.ASM.EkHttpDavHandler.EkDavHttpHandlerFactory" /> 
          <add path="*.ashx" verb="*" type="System.Web.UI.SimpleHandlerFactory" /> 
          <add path="vs*_tmp.htm" verb="*" type="System.Web.StaticFileHandler" /> 
          <add path="*/WorkArea/showcontent*.aspx" verb="*" type="URLRewrite.URLRewriter,Ektron.Cms.URLRewriter" /> 
          <add path="*/WorkArea/ContentDesigner/configurations/*.aspx" 
           verb="*" type="System.Web.UI.PageHandlerFactory" /> 
          <add path="*/WorkArea/*.aspx" verb="*" type="System.Web.UI.PageHandlerFactory" /> 
          <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" /> 
          <add path="*.asp" verb="*" type="Ektron.ASM.EkHttpDavHandler.EkDavHttpHandlerFactory" /> 
          <add path="*.htm" verb="*" type="Ektron.ASM.EkHttpDavHandler.EkDavHttpHandlerFactory" /> 
          <add path="*.html" verb="*" type="Ektron.ASM.EkHttpDavHandler.EkDavHttpHandlerFactory" /> 
          <add path="*.aspx" verb="*" type="Ektron.ASM.EkHttpDavHandler.EkDavHttpHandlerFactory" /> 
          <add path="*" verb="*" type="Ektron.ASM.EkHttpDavHandler.EkDavHttpHandlerFactory" /> 
          <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.2.1001.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" 
           validate="false" /> 
        </httpHandlers> 
        <httpModules> 
          <add name="DigestAuthenticationModule" type="Ektron.ASM.EkHttpDavHandler.Security.DigestAuthenticationModule,Ektron.ASM.EkHttpDavHandler "/> 
          <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
        </httpModules> 

    I am using Visual Studio 2008 with SP1. Again, this code runs great without the RadScriptManager...



    0
    q
    Top achievements
    Rank 1
    answered on 02 Dec 2008, 06:29 AM
    Thanks, you save my day.
    0
    Raventhorn
    Top achievements
    Rank 2
    answered on 02 Dec 2008, 04:32 PM
    I just upgraded to the latest version of the tools and no good. I have SP1 of Visual Studio 2008 and of 3.51. I am going to open a support ticket.
    0
    melkorman
    Top achievements
    Rank 1
    answered on 18 Jan 2010, 04:26 PM
    Great, I have searched for hours for a solution to this problem! Thanks!
    Tags
    General Discussions
    Asked by
    Moon
    Top achievements
    Rank 2
    Answers by
    Veselin Vasilev
    Telerik team
    Moon
    Top achievements
    Rank 2
    Sacha Rice
    Top achievements
    Rank 1
    Raventhorn
    Top achievements
    Rank 2
    q
    Top achievements
    Rank 1
    melkorman
    Top achievements
    Rank 1
    Share this question
    or