that's not a good idea because the new changes will make it into the final release. btw, have you used fiddler to see th error you're getting in the download?
--
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
btw, have you used fiddler to see th error you're getting in the download?
I wasn't getting any download errors. The main issue I was trying to resolve is the 'Sys' is undefined error when using ASP.NET AJAX Beta 2. None of the solutions posted here have worked for me so far.
And FYI - the Beta 2 problems were also occuring on a Mac running the Opera browser. When I went back to beta 1, everything worked again on the Mac too.
normally, Sys undefined means that the top level atlas namespace isn't being registered. most times this means that the file that has it wasn't downloaded to the client. if you use fiddler, you'll be able to see the error you're having and maybe we can help
you if we get that info from fiddler.
--
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
I got the same 'Sys is undefined' error when i executed my first program with ASP.NET AJAX. The trick that worked for me was installation of Service pack IE6.0sp1-KB912812 for IE. After installation of the serivice pack and rebooting the system
"I created a new project using "ASP.NET AJAX-Enabled Web Site"..... and things started working normal.
I am using Win 2000 Professional with IE 6 service pack IE6.0sp1-KB912812
good luck
asp.net ajaxASP.NET AJAX Profile LoadCompleteAJAX beta
You downloaded the core but not the CTP - and the sys not defined is a result of two incompatible libraries being present.. Make sure you have UN-installed everything ATlas and AJAX related. The install the latest core Ajax and "Futures".. and make sure
you have followed the guidelines in the migration docs...The mixture of dlls will cause that error... and to note that error is produced serverside and so therefore it doesn't matter what IE KB you download - the problem is not actually fixed... If you do
not find the uninstall in the control panel you can relaunch the original install it will have the option to repair or uninstall. In some cases you will find if things have moved such as the updateprogress control which was "CTP" in Beta 1 is now in "Core"
in Beta 2 - codebehind you need to retool your references... again the migration docs actually are pretty reliable... long but allow the results..
yep..I think what jody says makes sense. As I had originally posted the IE KB patch did fix my issues. Point to note is that I had followed the following sequence:
I'm afraid to say that I think I have given up with these Ajax controls in their current state as I have spent many hours researching the problem to get nowhere. I will wait for the release and hope the developers sort this most annoying issue out.
I have managed to sort the problem out locally but the second I put it on the server all hell breaks loose. I can bring the SampleWebsite up using the servers local browser, however it takes so long to load you may as well make a cup of tea. If I try and
then access it using the development machine's browser, it never comes up and crashes IIS on the server.
I think these controls will be brilliant when they are finished, I just have to cross my fingers and hope. Thanks everyone for attempting to contribute to this thread, I just wish the resolutions to it were a bit more consistent.
Regards
If my reply has resolved your issue, please mark the topic as answered by myself. Thank you.
Apologies, I was not as clear as I should have been. I was referring to developing new ASP.NET AJAX controls. In this case, fundamental syntax errors can cause this issue.
To hazard a guess, there's probably only one reason (already mentioned) why this 'Sys is undefined' issue can happen: the existing code tries to call javascript objects and members before they have fully loaded in the page. Simple as that. It seems unlikely that
the issues relate to patches, etc. Having developed a number (+-8) custom AJAX-enabled controls using this framework I know that event sequence is vital (as in all ASP dev). Perhaps the ajax.net chaps will give feedback on this.
Which brings up another related issue... why does there not seem to be a way to check whether all necessary scripts in the page have loaded? Surely there are many development scenarios will call for this (I'm currently experiencing one!). Am I missing something
on the ScriptManager? Another discussion thread perhaps...
To hazard a guess, there's probably only one reason (already mentioned) why this 'Sys is undefined' issue can happen: the existing code tries to call javascript objects and members before they have fully loaded in the page. Simple as that. It seems unlikely that
the issues relate to patches, etc. Having developed a number (+-8) custom AJAX-enabled controls using this framework I know that event sequence is vital (as in all ASP dev). Perhaps the ajax.net chaps will give feedback on this.
Which brings up another related issue... why does there not seem to be a way to check whether all necessary scripts in the page have loaded? Surely there are many development scenarios will call for this (I'm currently experiencing one!). Am I missing something
on the ScriptManager? Another discussion thread perhaps...
Thanks for explaining Dragonman however I am finding it very hard to believe that there is simply one cause of this error due to the inconsistency with the resolutions. Anything from web.config editing to local IE patches resolves this one and it seems as
though my server needs a resolution that nobody has discovered yet. The fact that it can load very very slowly without error on the servers local browser kind of tells me that the required libraries are loading completely, the question is why the stupidly
long delay? and secondly, why does it not work off a remote machines browser when accessing the same page on the same server?
The routine is fundamental to the page working correctly, it has been commented before on here. However, that being the sole reason for this error is very much unbelievable to me simply from the discoveries in this thread alone.
Thanks again for your help, it's appreciated.
If my reply has resolved your issue, please mark the topic as answered by myself. Thank you.
Luis Abreu
All-Star
25674 Points
5369 Posts
MVP
Re: 'Sys' is undefined.
Nov 13, 2006 09:09 PM|LINK
hello
that's not a good idea because the new changes will make it into the final release. btw, have you used fiddler to see th error you're getting in the download?
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
cyzfitz
Member
67 Points
30 Posts
Re: 'Sys' is undefined.
Nov 13, 2006 09:22 PM|LINK
I wasn't getting any download errors. The main issue I was trying to resolve is the 'Sys' is undefined error when using ASP.NET AJAX Beta 2. None of the solutions posted here have worked for me so far.
And FYI - the Beta 2 problems were also occuring on a Mac running the Opera browser. When I went back to beta 1, everything worked again on the Mac too.
Any thoughts?
Thanks,
Tim
Luis Abreu
All-Star
25674 Points
5369 Posts
MVP
Re: 'Sys' is undefined.
Nov 13, 2006 09:35 PM|LINK
hello.
normally, Sys undefined means that the top level atlas namespace isn't being registered. most times this means that the file that has it wasn't downloaded to the client. if you use fiddler, you'll be able to see the error you're having and maybe we can help you if we get that info from fiddler.
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
Sarfraz.Ahme...
Member
5 Points
1 Post
Re: 'Sys' is undefined.
Nov 14, 2006 03:50 AM|LINK
Hey guys,
I got the same 'Sys is undefined' error when i executed my first program with ASP.NET AJAX. The trick that worked for me was installation of Service pack IE6.0sp1-KB912812 for IE. After installation of the serivice pack and rebooting the system "I created a new project using "ASP.NET AJAX-Enabled Web Site"..... and things started working normal.
I am using Win 2000 Professional with IE 6 service pack IE6.0sp1-KB912812
good luck
asp.net ajax ASP.NET AJAX Profile LoadComplete AJAX beta
jodywbcb
Contributor
4482 Points
985 Posts
Re: 'Sys' is undefined.
Nov 14, 2006 04:06 AM|LINK
I am willing to bet your issues are that :
You downloaded the core but not the CTP - and the sys not defined is a result of two incompatible libraries being present.. Make sure you have UN-installed everything ATlas and AJAX related. The install the latest core Ajax and "Futures".. and make sure you have followed the guidelines in the migration docs...The mixture of dlls will cause that error... and to note that error is produced serverside and so therefore it doesn't matter what IE KB you download - the problem is not actually fixed... If you do not find the uninstall in the control panel you can relaunch the original install it will have the option to repair or uninstall. In some cases you will find if things have moved such as the updateprogress control which was "CTP" in Beta 1 is now in "Core" in Beta 2 - codebehind you need to retool your references... again the migration docs actually are pretty reliable... long but allow the results..
My Blogs on .Net 2.0 and Ajax
http://csk.wbcb.com
http://ArtbyJody.com
ram_sac
Member
10 Points
2 Posts
Re: 'Sys' is undefined.
Nov 14, 2006 04:44 AM|LINK
yep..I think what jody says makes sense. As I had originally posted the IE KB patch did fix my issues. Point to note is that I had followed the following sequence:
1. Uninstalled Beta1.
2. Installed Beta2
3. Installed November CTP
RAM
aurorasi
Member
200 Points
51 Posts
Re: 'Sys' is undefined.
Nov 14, 2006 08:28 AM|LINK
I'm afraid to say that I think I have given up with these Ajax controls in their current state as I have spent many hours researching the problem to get nowhere. I will wait for the release and hope the developers sort this most annoying issue out.
I have managed to sort the problem out locally but the second I put it on the server all hell breaks loose. I can bring the SampleWebsite up using the servers local browser, however it takes so long to load you may as well make a cup of tea. If I try and then access it using the development machine's browser, it never comes up and crashes IIS on the server.
I think these controls will be brilliant when they are finished, I just have to cross my fingers and hope. Thanks everyone for attempting to contribute to this thread, I just wish the resolutions to it were a bit more consistent.
Regards
http://auroracode.blogspot.com
Dragonman
Member
30 Points
6 Posts
Re: 'Sys' is undefined.
Nov 14, 2006 10:49 AM|LINK
Aurorasi,
Apologies, I was not as clear as I should have been. I was referring to developing new ASP.NET AJAX controls. In this case, fundamental syntax errors can cause this issue.
D
Dragonman
Dragonman
Member
30 Points
6 Posts
Re: 'Sys' is undefined.
Nov 14, 2006 11:36 AM|LINK
To hazard a guess, there's probably only one reason (already mentioned) why this 'Sys is undefined' issue can happen: the existing code tries to call javascript objects and members before they have fully loaded in the page. Simple as that. It seems unlikely that the issues relate to patches, etc. Having developed a number (+-8) custom AJAX-enabled controls using this framework I know that event sequence is vital (as in all ASP dev). Perhaps the ajax.net chaps will give feedback on this.
Which brings up another related issue... why does there not seem to be a way to check whether all necessary scripts in the page have loaded? Surely there are many development scenarios will call for this (I'm currently experiencing one!). Am I missing something on the ScriptManager? Another discussion thread perhaps...
Dragonman
aurorasi
Member
200 Points
51 Posts
Re: 'Sys' is undefined.
Nov 14, 2006 11:47 AM|LINK
Thanks for explaining Dragonman however I am finding it very hard to believe that there is simply one cause of this error due to the inconsistency with the resolutions. Anything from web.config editing to local IE patches resolves this one and it seems as though my server needs a resolution that nobody has discovered yet. The fact that it can load very very slowly without error on the servers local browser kind of tells me that the required libraries are loading completely, the question is why the stupidly long delay? and secondly, why does it not work off a remote machines browser when accessing the same page on the same server?
The routine is fundamental to the page working correctly, it has been commented before on here. However, that being the sole reason for this error is very much unbelievable to me simply from the discoveries in this thread alone.
Thanks again for your help, it's appreciated.
http://auroracode.blogspot.com