Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. 'sys' is undefined in asp.net web application

'sys' is undefined in asp.net web application

Scheduled Pinned Locked Moved ASP.NET
helpcsharpjavascriptasp-netcom
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sandeep Akhare
    wrote on last edited by
    #1

    Hi All, I am getting 'sys' is undefined suddenly in one of the QA environemnt. There are no code changes. it seems there is some environmental issue but not sure what is causing this issue. I am saying there is no code issue as this code is working in other QA environment (present in other box) a also checked the web.config it is same as in other environment too.... When checked with HTTP watch in the browser it seems that webresource.axd files are not getting downloaded when it is trying to donwload the file server is giving 302 http error and redirecting to some error page but for me page is redirecting properly with javascript error "sys is undefined" Please let me know if any one has experienced the same issue

    Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

    M 1 Reply Last reply
    0
    • S Sandeep Akhare

      Hi All, I am getting 'sys' is undefined suddenly in one of the QA environemnt. There are no code changes. it seems there is some environmental issue but not sure what is causing this issue. I am saying there is no code issue as this code is working in other QA environment (present in other box) a also checked the web.config it is same as in other environment too.... When checked with HTTP watch in the browser it seems that webresource.axd files are not getting downloaded when it is trying to donwload the file server is giving 302 http error and redirecting to some error page but for me page is redirecting properly with javascript error "sys is undefined" Please let me know if any one has experienced the same issue

      Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

      M Offline
      M Offline
      Manas Bhardwaj
      wrote on last edited by
      #2

      From the error message looks like some AJAX framework related issue. Try looking at these links. They might help: http://www.technade.com/2008/09/how-to-remove-sys-is-undefined.html[^] http://blogs.msdn.com/zainnab/archive/2007/04/09/ajax-fun-with-the-dreaded-sys-is-undefined-error.aspx[^] :thumbsup:

      Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

      S 2 Replies Last reply
      0
      • M Manas Bhardwaj

        From the error message looks like some AJAX framework related issue. Try looking at these links. They might help: http://www.technade.com/2008/09/how-to-remove-sys-is-undefined.html[^] http://blogs.msdn.com/zainnab/archive/2007/04/09/ajax-fun-with-the-dreaded-sys-is-undefined-error.aspx[^] :thumbsup:

        Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

        S Offline
        S Offline
        Sandeep Akhare
        wrote on last edited by
        #3

        Thanks for the reply Manas .. let me chek

        Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

        1 Reply Last reply
        0
        • M Manas Bhardwaj

          From the error message looks like some AJAX framework related issue. Try looking at these links. They might help: http://www.technade.com/2008/09/how-to-remove-sys-is-undefined.html[^] http://blogs.msdn.com/zainnab/archive/2007/04/09/ajax-fun-with-the-dreaded-sys-is-undefined-error.aspx[^] :thumbsup:

          Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

          S Offline
          S Offline
          Sandeep Akhare
          wrote on last edited by
          #4

          Still not working ... so do you know why ScriptResource.axd requests return 302 in my case ? intead of 200

          Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

          A 1 Reply Last reply
          0
          • S Sandeep Akhare

            Still not working ... so do you know why ScriptResource.axd requests return 302 in my case ? intead of 200

            Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

            A Offline
            A Offline
            Abhishek Sur
            wrote on last edited by
            #5

            Do you have ASP.NET CTP installed. 302 is returned when Request is temporarily removed from the server. I think in your case, the id associated with the ScriptResource.axd which downloads the specific file got whacked. Can you paste the script src in the browser addressbar directly and check whether the file is downloaded properly or not...??

            Abhishek Sur


            My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

            **Don't forget to click "Good Answer" if you like to.

            S 1 Reply Last reply
            0
            • A Abhishek Sur

              Do you have ASP.NET CTP installed. 302 is returned when Request is temporarily removed from the server. I think in your case, the id associated with the ScriptResource.axd which downloads the specific file got whacked. Can you paste the script src in the browser addressbar directly and check whether the file is downloaded properly or not...??

              Abhishek Sur


              My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

              **Don't forget to click "Good Answer" if you like to.

              S Offline
              S Offline
              Sandeep Akhare
              wrote on last edited by
              #6

              Not sure what went wrong ..... now its working as expected .... thanks all

              Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

              A 1 Reply Last reply
              0
              • S Sandeep Akhare

                Not sure what went wrong ..... now its working as expected .... thanks all

                Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

                A Offline
                A Offline
                Abhishek Sur
                wrote on last edited by
                #7

                Yes...Thats great to hear that. I have this error when I was using CTP version of Extensions. But I never found this when using in VS 2008. Anyways.. Cheers. :)

                Abhishek Sur


                My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

                **Don't forget to click "Good Answer" if you like to.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups