Meet with Expert

Monday, June 4, 2007

Security Setting can turn your AJAX off.

Today, I spent my whole day figuring out how MS AJAX toolkit work. Well, it was a such easy process as specified in its video tutorial. Having a video showing how to do it step by step, I thought it is just invisible, would be super fast.

1. After installing toolkit, I found it is not working though AJAX partially worked. OK, let me reading its release notes thoroughly.
2. After reading release notes, it is recommended to install service pack for Visual Studio.
3. Downloading the service pack is 450Mb, thank you Microsoft.
4. Installing the SP1, take me around 4 hours. Why it is just that sloooow. In the middle, C drive run out of space. Then I rushed to move some stuff to D.
5. Thank you, SP1 installation eventually finished. Try it again, not working...
6. Figure crossed, what can runs wrong, Oh, need to un-install AJAX entension, then reinstall.
7. Oops, after the step, not working.
8. Try the copy in Microsoft site, why it works, mine not worked.
9. Try the copy in another server, which I know it worked before. Bingo, today, it was not working!!! But nobody touched it recently.
10. Try Firefox, it worked locally and for the server copy. Well, I know what is wrong, the damn browser.
11. OK, my Explorer was corrupted, reinstall it Explorer 7. Not working.
12. OK. It must be security setting, after some changes, it worked fine.

Because MS site is trusted site, same code worked there but not for me locally or my company server. Took me a day.