'sys' is undefined in asp.net web application
-
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
-
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
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.
-
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.
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
-
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.
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
-
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
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.
-
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.
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
-
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
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.