Error on ajax.asp.net - sys is undefined

Last post 04-30-2009 4:57 AM by Sandy1234. 80 replies.

Sort Posts:

  • Re: Error on ajax.asp.net - sys is undefined (PLEASE HELP ME!) -> possible solution.

    05-03-2008, 5:09 AM
    Locked
    • Member
      8 point Member
    • bala.krishnan
    • Member since 04-25-2008, 2:07 PM
    • Posts 4

    Thank you for your response. IIS setup is as usual. Nothing special I have made. I havent installed Firebug for FireFox.

    But the error is not only in FireFox, In IE it is throwing 'Sys' is undefined error and in ForeFox the data is not loaded but it doesnt throw any error. I have even tried reinstalling AJAX Extension, but it was of no use.

  • Re: Error on ajax.asp.net - sys is undefined (PLEASE HELP ME!) -> possible solution.

    07-03-2008, 7:54 AM
    Locked
    • Member
      2 point Member
    • xhaf
    • Member since 07-03-2008, 11:49 AM
    • Posts 1

    This is working for me on Windows 2003 server.

    I just installed ASP.NET AJAX, it returned error 404 for scriptresource.axd. I went to website properties, Home Directory, Configuration, .axd Extension was missing. Clicked Add, set Executable to c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll, Extension to .axd, Limit to GET,HEAD,POST,DEBUG, checked Script engine, unchecked Verify that file exists.

     Now it is working fine and returns javascript code on Scriptresource.axd request.

  • Re: Error on ajax.asp.net - sys is undefined (PLEASE HELP ME!) -> possible solution.

    11-21-2008, 12:11 PM
    Locked
    • Member
      2 point Member
    • oxygen20
    • Member since 11-21-2008, 5:07 PM
    • Posts 1
    Samething for me!!! I had to uncheck "Verify that file exists" in the .axd extension properties, found in the web site's Properties (in IIS), and then "Configuration" in the "Home Directory"'s tab.

    It now works like a charm!
  • Re: Error on ajax.asp.net - sys is undefined (PLEASE HELP ME!)

    03-06-2009, 4:23 PM
    Locked
    • Member
      4 point Member
    • markentingh
    • Member since 11-29-2008, 6:15 PM
    • Posts 2

     I was having the same problem, but I resolved it. I added compression code to the global.asax within the Application_BeginRequest. I believe the "content-encoding" header was being rewritten after the Application_BeginRequest sub executed, so I kept the compression code in the Application_BeginRequest sub, and moved the Response.AddHeader("Content-Encoding", "gzip") code to the Application_EndRequest sub, and now everything works perfectly.

  • Re: Error on ajax.asp.net - sys is undefined

    04-28-2009, 2:20 AM
    Locked
    • Member
      4 point Member
    • Sachininiter
    • Member since 04-28-2009, 6:17 AM
    • Posts 2

     

    Simply Add in Web.Config file :- Under <system.web> tag

    <httpHandlers>

    <remove verb="*" path="*.asmx"/>

    <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

    <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

    <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

    </httpHandlers>

     

    That will solve your problem.

  • Re: Error on ajax.asp.net - sys is undefined (PLEASE HELP ME!) -> possible solution.

    04-30-2009, 4:57 AM
    Locked
    • Member
      14 point Member
    • Sandy1234
    • Member since 04-19-2007, 5:19 AM
    • Posts 189

    i am also facing same problem with xp

     

Page 6 of 6 (81 items) « First ... < Previous 2 3 4 5 6