I have programmed a gadget and it works great. I uploaded it to the Live Gallery and then I tested it and it doesn't work anymore.
var xml_request = new XMLHttpRequest();
xml_request.open("GET", url, true); <----- breaks here!
the url variable is valid.
It just stopped working all of a sudden with no code change. All the other gadgets in my sidebar can access the internet just fine.
I have no idea why it just stopped working.
If I replace it with:
location.href = url;
it opens the url in IE just fine.

new XMLHttpRequest() - I'm at a loss
Learning VB
I just found the unblock thing and it worked. My gadget works again.
Steve1999
Mark Ornelas
It's possible that the .gadget file has been blocked due to being from the interwebs. Find the file, right-click and go to Properties, and look at the bottom of the "General" tab for the Security section. If it has an area saying "This file came from another computer and might be blocked to help protect this computer" with an "Unblock" button, try unblocking and installing the gadget again to see if that helps.
If it turns out that's the problem, I don't know how you solve it in the long run. Maybe you need to sign the gadget file Use a tool like cabarc to build a .cab rather than a .zip, sign with the sn.exe tool and a certificate, and then rename as .gadget. It's possible (but unlikely ) that Gallery signs .gadget files to get around this. Having not run into the problem myself and having not tried signing a gadget, I have no idea if this is the root cause or a possible fix. But it's worth trying, anyway.
blogg
Nothing on your thread seems to help. However, I don't think it has anything to do with Vista versions.
It worked fine on my home basic (running in Parallels Desktop) until I zipped it and installed from my webserver. While I was developing it in the gadget folder it worked fine.
What could have caused this to happen in the downloaded version Encoding
lloydsantos
Sjas
I couldn't find anything like that.
I tested it in IE and It works in IE.
I reverted back to the "working" file and it doesn't work anymore. I created a new html page and pasted the contents into it and it didn't work either.
Tarey Wolf
Shadow_Heart
thomas_nor
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1283951&SiteID=1
It sounds like you may be having the same problem as me. And, if not, some of the suggestions in there may help you to troubleshoot. Be sure to let me know if you find a solution!