I am following the Gadget SDK instructions to add a gadget to my live.com page using IE7.
The sample hello world was proper installed and I could use the http://localhost/Gadgets/Hello/HelloWorldGadget.xml to launch this page on my local IIS.
Next, I following the SDK instructions:
- Go to http://www.live.com
- Click on 'add stuff, and click on 'Advanced Options'
- Enter the url to the manifest XML for one of the sample Gadgets in the 'add Gadget or feed by url' edit box. For example, try http://localhost/Gadgets/hello/HelloWorldGadget.xml.
but this failed when I hit the "Subscribe button" with error:
It trapped to line 518 of shared.live.com/.../liveframework.js
{xml.open("GET",o.url,true);}
with an access denied problem. Can you provide some hints on what I have done wrong

Can't add sample gadget from SDK to my Gadget list.
raq
Tang, you shouldn't need to do this in both the Internet and Trusted Sites zones. One or the other should be sufficient, depending on other variables. The suggestion to add *.start.com and *.live.com to Trusted Sites is given because in IE6 Trusted Sites defaulted to allowing cross-domain calls. In IE7, you can modify this value for different sites, so if you do set the Internet zone to allow cross-domain calls then there's no reason to add *.start.com and *.live.com to Trusted Sites. If you do add those to Trusted Sites, then there's no reason to modify the Internet zone's cross-domain call setting.
Using Trusted Sites and configuring it to allow cross-domain requests is the preferred option. Leave the Internet site configured as default for maximimum safety.
Wendy_B
You need to add *.live.com and *.start.com to your Trusted Sites zone. This should be documented in the SDK, though only for IE6. In IE7, you need to go one step further. On the Security tab of IE7's Options, select the Trusted Sites zone and click on Custom Level. Scroll down until you find the "Miscellaneous" section and set "Access data sources across domains" to "prompt" or "enable".
I hope this information makes it into the SDK the next time it's updated (when it gets put up on dev.live.com ).
Scotty Sparks
I worked another forum article http://microsoftgadgets.com/forums/3832/ShowPost.aspx and this posting said the same thing at the end
According to another response from that posting, there is a new clue here:
"
The problem lies in the Windows Live Gadget SDK documentation. In the "Setting Up Your Environment" section, the documentation states that you should set the 'Access data sources across domains' bit to 'prompt' in the 'Internet' zone. This is correct. However, I found that you must do the same for the 'Trusted Sites' zone also. Doing so appeared to resolve the issue for me in IE 7.0.
Thank you for your help.