Exception thrown when trying to access Profiles<span><div style="overflow:auto;background-color:white;border:solid 1px #7f9db9;width:;height:;line-height:100% !important;font-family:Courier New;font-size:11px"></div></span><span class=Apple-style-span style="border-collapse:collapse;font-family:'Courier New';font-size:11px;line-height:11px"><br></span>I've just been doing a quick demo silverlight app for mesh which I was planning on making the same as <a href="http://www.liveside.net/developer/archive/2008/11/10/a-quick-and-dirty-console-application-using-the-livefx.aspx">my console app</a>. However, I'm getting an exception thrown whenever I try and access the Profiles object of the Live Operating Environment. I have set the application's settings as <a href="http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/695f4201-7ab3-4942-bf45-b929f75f2237">described by Danny</a>, but this does not change anything. The start of my code is this:<div><br></div><div><span><div style="overflow-x:auto;overflow-y:auto;background-color:white;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-color:rgb(127, 157, 185);border-right-color:rgb(127, 157, 185);border-bottom-color:rgb(127, 157, 185);border-left-color:rgb(127, 157, 185);line-height:100% !important;font-family:'Courier New';font-size:11px"><table cellpadding=0 cellspacing=0 style="width:99%;margin-top:2px;margin-right:0px;margin-bottom:2px;margin-left:0px;border-collapse:collapse;border-bottom-style:solid;border-bottom-color:rgb(238, 238, 238);background-color:rgb(255, 255, 255);border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px"><col style="font-family:'Courier New';font-size:11px;padding-left:10px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(247, 247, 247);white-space:nowrap"><tbody><tr><td><font style="font-size:11px">            InitializeComponent(); </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)"> </td></tr><tr><td>            MeshApplicationService meshApp = Application.Current.GetMeshApplicationService(); </td></tr><tr><td style="background-color:rgb(247, 247, 247)">            <font style="color:green">// once mesh contents are loaded we get callback</font><font style="font-size:11px"> </font></td></tr><tr><td>            meshApp.LoadCompleted += <font style="color:blue">new</font><font style="font-size:11px"> EventHandler(meshAppLoaded); </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">            meshApp.Load(); </td></tr><tr><td>             </td></tr><tr><td style="background-color:rgb(247, 247, 247)">            LiveOperatingEnvironment loe = meshApp.LiveOperatingEnvironment; </td></tr><tr><td>             </td></tr><tr><td style="background-color:rgb(247, 247, 247)">            <font style="color:green">// This gets the Messenger PSM</font><font style="font-size:11px"> </font></td></tr><tr><td>            Profile prof = loe.Profiles.Entries.Single(e =&gt; e.Resource.Title == <font style="color:blue">&quot;GeneralProfile&quot;</font><font style="font-size:11px">); </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">            var somethingelse = (GeneralProfile)prof.Resource.ProfileInfo; <br><br></td></tr></tbody></table></div></span><div><br></div><div>When debugging, just looking at the loe object, the Profiles attribute just says that it threw an exception.</div><div><br></div><div>Any thoughts?</div></div><hr size="1" align="left" width="25%">SL - Windows Live Platform MVP© 2009 Microsoft Corporation. All rights reserved.Fri, 21 Nov 2008 17:06:57 Z03241ce4-43c0-4b13-821d-5a2c71f1374ahttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#03241ce4-43c0-4b13-821d-5a2c71f1374ahttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#03241ce4-43c0-4b13-821d-5a2c71f1374aScott Lovegrovehttp://social.msdn.microsoft.com/Profile/en-US/?user=Scott%20LovegroveException thrown when trying to access Profiles<span><div style="overflow:auto;background-color:white;border:solid 1px #7f9db9;width:;height:;line-height:100% !important;font-family:Courier New;font-size:11px"></div></span><span class=Apple-style-span style="border-collapse:collapse;font-family:'Courier New';font-size:11px;line-height:11px"><br></span>I've just been doing a quick demo silverlight app for mesh which I was planning on making the same as <a href="http://www.liveside.net/developer/archive/2008/11/10/a-quick-and-dirty-console-application-using-the-livefx.aspx">my console app</a>. However, I'm getting an exception thrown whenever I try and access the Profiles object of the Live Operating Environment. I have set the application's settings as <a href="http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/695f4201-7ab3-4942-bf45-b929f75f2237">described by Danny</a>, but this does not change anything. The start of my code is this:<div><br></div><div><span><div style="overflow-x:auto;overflow-y:auto;background-color:white;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-color:rgb(127, 157, 185);border-right-color:rgb(127, 157, 185);border-bottom-color:rgb(127, 157, 185);border-left-color:rgb(127, 157, 185);line-height:100% !important;font-family:'Courier New';font-size:11px"><table cellpadding=0 cellspacing=0 style="width:99%;margin-top:2px;margin-right:0px;margin-bottom:2px;margin-left:0px;border-collapse:collapse;border-bottom-style:solid;border-bottom-color:rgb(238, 238, 238);background-color:rgb(255, 255, 255);border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px"><col style="font-family:'Courier New';font-size:11px;padding-left:10px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(247, 247, 247);white-space:nowrap"><tbody><tr><td><font style="font-size:11px">            InitializeComponent(); </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)"> </td></tr><tr><td>            MeshApplicationService meshApp = Application.Current.GetMeshApplicationService(); </td></tr><tr><td style="background-color:rgb(247, 247, 247)">            <font style="color:green">// once mesh contents are loaded we get callback</font><font style="font-size:11px"> </font></td></tr><tr><td>            meshApp.LoadCompleted += <font style="color:blue">new</font><font style="font-size:11px"> EventHandler(meshAppLoaded); </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">            meshApp.Load(); </td></tr><tr><td>             </td></tr><tr><td style="background-color:rgb(247, 247, 247)">            LiveOperatingEnvironment loe = meshApp.LiveOperatingEnvironment; </td></tr><tr><td>             </td></tr><tr><td style="background-color:rgb(247, 247, 247)">            <font style="color:green">// This gets the Messenger PSM</font><font style="font-size:11px"> </font></td></tr><tr><td>            Profile prof = loe.Profiles.Entries.Single(e =&gt; e.Resource.Title == <font style="color:blue">&quot;GeneralProfile&quot;</font><font style="font-size:11px">); </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">            var somethingelse = (GeneralProfile)prof.Resource.ProfileInfo; <br><br></td></tr></tbody></table></div></span><div><br></div><div>When debugging, just looking at the loe object, the Profiles attribute just says that it threw an exception.</div><div><br></div><div>Any thoughts?</div></div><hr size="1" align="left" width="25%">SL - Windows Live Platform MVPTue, 11 Nov 2008 12:22:20 Z2008-11-11T12:22:20Zhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#ef530b93-ec6a-4c90-962f-633132a6d0bahttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#ef530b93-ec6a-4c90-962f-633132a6d0baDanny Thorpehttp://social.msdn.microsoft.com/Profile/en-US/?user=Danny%20ThorpeException thrown when trying to access Profiles Hi Scott,<br><br>Are you running this mesh app in Live Desktop (in the browser) or on the local LOE on your local desktop?  I don't think Profiles (or Contacts) are supported yet on the local LOE.<br><br>-Danny<hr size="1" align="left" width="25%"><a href="http://dannythorpe.com">http://dannythorpe.com</a>Tue, 11 Nov 2008 17:48:30 Z2008-11-11T17:48:30Zhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#1167550c-eace-4d3b-8f79-0c18a09634ebhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#1167550c-eace-4d3b-8f79-0c18a09634ebScott Lovegrovehttp://social.msdn.microsoft.com/Profile/en-US/?user=Scott%20LovegroveException thrown when trying to access Profiles Hi Danny,<br><br>This is when using the Live Desktop, not the local Mesh client.<hr size="1" align="left" width="25%">SL - Windows Live Platform MVPTue, 11 Nov 2008 18:38:00 Z2008-11-11T18:38:00Zhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#6ce95675-015f-4d45-9d5f-d7f06b2c12efhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#6ce95675-015f-4d45-9d5f-d7f06b2c12efVikas-Ahujahttp://social.msdn.microsoft.com/Profile/en-US/?user=Vikas-AhujaException thrown when trying to access Profiles<p>I suspect this is permissions issue. can you verify that using LivefxResourceBrowser that you have following Permission, highlighed:<br></p> <p> <table style="border-top-width:0px;border-left-width:0px;margin:2px 0px;width:99%;border-bottom:#eee 0px solid;border-collapse:collapse;background-color:#fff;border-right-width:0px" cellspacing=0 cellpadding=0> <colgroup> <col style="padding-left:10px;font-size:11px;border-bottom:#f7f7f7 1px solid;font-family:Courier New;white-space:nowrap"> <tbody> <tr> <td><font style="font-size:11px">      </font><font style="color:blue">&lt;</font><font style="font-size:11px">InstalledApplicationResourceContent xmlns:</font><font style="color:red">i</font><font style="font-size:11px">=</font><font style="color:blue">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</font><font style="font-size:11px"> </font><font style="color:red">xmlns</font><font style="font-size:11px">=</font><font style="color:blue">&quot;http://user.windows.net&quot;</font><font style="font-size:11px">&gt;  </font></td></tr> <tr> <td style="background-color:#f7f7f7">        </font><font style="color:blue">&lt;</font><font style="font-size:11px">Offers</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>          </font><font style="color:blue">&lt;</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">            </font><font style="font-size:16px"><font style="background-color:#ffff00"><strong><font style="font-size:16px"><font style="font-size:16px;color:blue">&lt;</font><font style="font-size:16px">OfferName</font><font style="font-size:16px;color:blue">&gt;</font><font style="font-size:16px">DeveloperCTPProfiles.Read</font><font style="font-size:16px;color:blue">&lt;/</font><font style="font-size:16px">OfferName</font><font style="font-size:16px;color:blue">&gt;</font></font></strong><font style="font-size:16px"> </font></font></font></td></tr> <tr> <td>          </font><font style="color:blue">&lt;/</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">          </font><font style="color:blue">&lt;</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>            </font><font style="color:blue">&lt;</font><font style="font-size:11px">OfferName</font><font style="color:blue">&gt;</font><font style="font-size:11px">DeveloperCTPDevices.Read</font><font style="color:blue">&lt;/</font><font style="font-size:11px">OfferName</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">          </font><font style="color:blue">&lt;/</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>          </font><font style="color:blue">&lt;</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">            </font><font style="color:blue">&lt;</font><font style="font-size:11px">OfferName</font><font style="color:blue">&gt;</font><font style="font-size:11px">DeveloperCTPContacts.Write</font><font style="color:blue">&lt;/</font><font style="font-size:11px">OfferName</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>          </font><font style="color:blue">&lt;/</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">          </font><font style="color:blue">&lt;</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>            </font><font style="color:blue">&lt;</font><font style="font-size:11px">OfferName</font><font style="color:blue">&gt;</font><font style="font-size:11px">DeveloperCTPNews.Full</font><font style="color:blue">&lt;/</font><font style="font-size:11px">OfferName</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">          </font><font style="color:blue">&lt;/</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>        </font><font style="color:blue">&lt;/</font><font style="font-size:11px">Offers</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">        </font><font style="color:blue">&lt;</font><font style="font-size:11px">Version</font><font style="color:blue">&gt;</font><font style="font-size:11px">2</font><font style="color:blue">&lt;/</font><font style="font-size:11px">Version</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>      </font><font style="color:blue">&lt;/</font><font style="font-size:11px">InstalledApplicationResourceContent</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr></tbody></table> <font id=UniqueID1226440323927> </font><br><br>Danny has provided a work around for fixing permissions:<br><a href="http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/695f4201-7ab3-4942-bf45-b929f75f2237">http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/695f4201-7ab3-4942-bf45-b929f75f2237</a><br></p><br>If above is true, similar issue was:<br><a href="http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/f16a1d6f-91b5-4082-945c-0fdee0796c09">http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/f16a1d6f-91b5-4082-945c-0fdee0796c09<br></a> <hr align=left width="25%" size=1> This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Tue, 11 Nov 2008 21:55:18 Z2008-11-11T21:56:08Zhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#a3f71c3d-aa3a-4b9e-a738-b946da42a54bhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#a3f71c3d-aa3a-4b9e-a738-b946da42a54bScott Lovegrovehttp://social.msdn.microsoft.com/Profile/en-US/?user=Scott%20LovegroveException thrown when trying to access ProfilesHi Vikas,<div><br></div><div>Thanks for the reply. I will verify with the LivefxResourceBrowser when I'm next on the PC with my project on it. I did however already do the steps described in Danny's post and the permissions were all set correctly after that (including access to the profiles).</div><div><br></div><div>In the Apps settings on the website, I have the following:</div><div><br></div><div><span class=Apple-style-span style="font-family:'Segoe UI';line-height:15px"><table class=genericShadowContainer cellspacing=0 style="line-height:130%;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;table-layout:fixed;width:100%"><tbody style="line-height:130%"><tr style="line-height:130%;vertical-align:top;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none"><td colspan=2 id=permissionsLabel class=memberCardHeader style="display:block;line-height:130%;color:rgb(0, 0, 0);font-weight:bold;width:100%">Permissions<br style="line-height:130%"></td></tr><tr style="line-height:130%;vertical-align:top;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none"><td colspan=2 id=offersStackPanel style="line-height:130%"><table id="$offersStackPanelItemTemplate" cellspacing=0 cellpadding=0 style="width:100%;background-color:rgb(221, 221, 221);line-height:130%"><tbody style="line-height:130%"><tr style="padding-top:5px;padding-bottom:5px;line-height:130%;vertical-align:top;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none"><td class=offerContainer style="line-height:130%"><span id=offerLabel class=profileContent style="line-height:130%">Read access to my Windows Live Profiles</span><span id=changeInstancesButton style="margin-left:5px;line-height:130%"></span></td></tr><tr style="line-height:130%;vertical-align:top;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none"><td id=offerInstances class=offerContainer style="line-height:130%"><span id=instancesName class=profileContent style="line-height:130%"></span></td></tr></tbody></table><table id="$offersStackPanelItemTemplate" cellspacing=0 cellpadding=0 style="width:100%;line-height:130%"><tbody style="line-height:130%"><tr style="padding-top:5px;padding-bottom:5px;line-height:130%;vertical-align:top;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none"><td class=offerContainer style="line-height:130%"><span id=offerLabel class=profileContent style="line-height:130%">Read access to my Live Mesh Devices</span><span id=changeInstancesButton style="margin-left:5px;line-height:130%"></span></td></tr><tr style="line-height:130%;vertical-align:top;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none"><td id=offerInstances class=offerContainer style="line-height:130%"><span id=instancesName class=profileContent style="line-height:130%"></span></td></tr></tbody></table><table id="$offersStackPanelItemTemplate" cellspacing=0 cellpadding=0 style="width:100%;background-color:rgb(221, 221, 221);line-height:130%"><tbody style="line-height:130%"><tr style="padding-top:5px;padding-bottom:5px;line-height:130%;vertical-align:top;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none"><td class=offerContainer style="line-height:130%"><span id=offerLabel class=profileContent style="line-height:130%">Read and update access to my Windows Live Contacts</span><span id=changeInstancesButton style="margin-left:5px;line-height:130%"></span></td></tr><tr style="line-height:130%;vertical-align:top;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none"><td id=offerInstances class=offerContainer style="line-height:130%"><span id=instancesName class=profileContent style="line-height:130%"></span></td></tr></tbody></table><table id="$offersStackPanelItemTemplate" cellspacing=0 cellpadding=0 style="width:100%;line-height:130%"><tbody style="line-height:130%"><tr style="padding-top:5px;padding-bottom:5px;line-height:130%;vertical-align:top;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none"><td class=offerContainer style="line-height:130%"><span id=offerLabel class=profileContent style="line-height:130%">Full access to my Live Mesh User News</span></td></tr></tbody></table></td></tr></tbody></table></span></div><div><br></div><div>I can still double check with the resource browser, but they do look correct there.</div><div><br></div><div>PS. It was me who 'started' the similar thread you mentioned :)</div><div><br></div><div><br></div><div><br></div><hr size="1" align="left" width="25%">SL - Windows Live Platform MVPTue, 11 Nov 2008 23:23:41 Z2008-11-11T23:23:41Zhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#5447f890-2545-4014-a2c8-de7e2844dcdbhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#5447f890-2545-4014-a2c8-de7e2844dcdbMine Tanrinianhttp://social.msdn.microsoft.com/Profile/en-US/?user=Mine%20TanrinianException thrown when trying to access Profiles Hi Scott,<br><br>I have seen the same result as you did when trying to access Profiles with the correct permissions within a Mesh-enabled Silverlight application. <br><br>I have then attempted to implement the same steps through WPF Application and I was able to access the Profiles object after connecting to LiveOperatingEnvironment by passing in the correct Network Credentials. <br><br>This behaviour reminded me the response given for <a href="http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/d4dc6d1f-ba37-4635-ba5c-51e9a48f332c"><font color="#0072bc">New MeshObject does not look initialized and Add throws</font></a> thread. Vikas, can you please confirm whether this is the expected result in the case of Profiles too? <br><br>Thanks,<br>Mine<br>Wed, 12 Nov 2008 02:05:08 Z2008-11-12T02:05:08Zhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#ad754c3d-7db8-445c-a4fb-4973ee7b75achttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#ad754c3d-7db8-445c-a4fb-4973ee7b75acScott Lovegrovehttp://social.msdn.microsoft.com/Profile/en-US/?user=Scott%20LovegroveException thrown when trying to access Profiles<span><div style="overflow:auto;background-color:white;border:solid 1px #7f9db9;width:;height:;line-height:100% !important;font-family:Courier New;font-size:11px"></div></span><span class=Apple-style-span style="border-collapse:collapse;font-family:'Courier New';font-size:11px;line-height:11px"><br></span>Hi Vikas, <div><br></div><div>Yes, I can confirm that my settings are as shown:</div><div><br></div><div><span><div style="overflow-x:auto;overflow-y:auto;background-color:white;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-color:rgb(127, 157, 185);border-right-color:rgb(127, 157, 185);border-bottom-color:rgb(127, 157, 185);border-left-color:rgb(127, 157, 185);line-height:100% !important;font-family:'Courier New';font-size:11px"><table cellpadding=0 cellspacing=0 style="width:99%;margin-top:2px;margin-right:0px;margin-bottom:2px;margin-left:0px;border-collapse:collapse;border-bottom-style:solid;border-bottom-color:rgb(238, 238, 238);background-color:rgb(255, 255, 255);border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px"><col style="font-family:'Courier New';font-size:11px;padding-left:10px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(247, 247, 247);white-space:nowrap"><tbody><tr><td><font style="font-size:11px">      </font><font style="color:blue">&lt;</font><font style="font-size:11px">InstalledApplicationResourceContent xmlns:</font><font style="color:red">i</font><font style="font-size:11px">=</font><font style="color:blue">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</font><font style="font-size:11px"> </font><font style="color:red">xmlns</font><font style="font-size:11px">=</font><font style="color:blue">&quot;http://user.windows.net&quot;</font><font style="font-size:11px">&gt; </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">        <font style="color:blue">&lt;</font><font style="font-size:11px">Offers</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td>          <font style="color:blue">&lt;</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">            <font style="color:blue">&lt;</font><font style="font-size:11px">OfferName</font><font style="color:blue">&gt;</font><font style="font-size:11px">DeveloperCTPProfiles.Read</font><font style="color:blue">&lt;/</font><font style="font-size:11px">OfferName</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td>          <font style="color:blue">&lt;/</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">          <font style="color:blue">&lt;</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td>            <font style="color:blue">&lt;</font><font style="font-size:11px">OfferName</font><font style="color:blue">&gt;</font><font style="font-size:11px">DeveloperCTPDevices.Read</font><font style="color:blue">&lt;/</font><font style="font-size:11px">OfferName</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">          <font style="color:blue">&lt;/</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td>          <font style="color:blue">&lt;</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">            <font style="color:blue">&lt;</font><font style="font-size:11px">OfferName</font><font style="color:blue">&gt;</font><font style="font-size:11px">DeveloperCTPContacts.Write</font><font style="color:blue">&lt;/</font><font style="font-size:11px">OfferName</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td>          <font style="color:blue">&lt;/</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">          <font style="color:blue">&lt;</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td>            <font style="color:blue">&lt;</font><font style="font-size:11px">OfferName</font><font style="color:blue">&gt;</font><font style="font-size:11px">DeveloperCTPNews.Full</font><font style="color:blue">&lt;/</font><font style="font-size:11px">OfferName</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">          <font style="color:blue">&lt;/</font><font style="font-size:11px">Offer</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td>        <font style="color:blue">&lt;/</font><font style="font-size:11px">Offers</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">        <font style="color:blue">&lt;</font><font style="font-size:11px">Version</font><font style="color:blue">&gt;</font><font style="font-size:11px">2</font><font style="color:blue">&lt;/</font><font style="font-size:11px">Version</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td>      <font style="color:blue">&lt;/</font><font style="font-size:11px">InstalledApplicationResourceContent</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)"> </td></tr></tbody></table></div></span></div><hr size="1" align="left" width="25%">SL - Windows Live Platform MVPWed, 12 Nov 2008 17:34:52 Z2008-11-12T17:34:52Zhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#e1ab337d-dd9d-45b4-9409-3ca203219a30http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#e1ab337d-dd9d-45b4-9409-3ca203219a30Danny Thorpehttp://social.msdn.microsoft.com/Profile/en-US/?user=Danny%20ThorpeException thrown when trying to access Profiles<p>Scott,<br><br>I've repro'd this issue here.  It looks like meshApp.LiveOperatingEnvironment.Profiles is broken in the Silverlight Live Framework client lib.  Any access to the Profiles property throws, even with DeveloperCTPProfiles.Read access.  We're investigating.<br><br>Please log this as a bug so you get credit for finding it. ;&gt;<br><br>-Danny</p><hr size="1" align="left" width="25%"><a href="http://dannythorpe.com">http://dannythorpe.com</a>Thu, 13 Nov 2008 17:31:14 Z2008-11-13T17:31:14Zhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#7d474907-556f-4604-8694-6b543745b500http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#7d474907-556f-4604-8694-6b543745b500Vikas-Ahujahttp://social.msdn.microsoft.com/Profile/en-US/?user=Vikas-AhujaException thrown when trying to access Profiles Thanks Danny.<br><br>Scott, Please log a bug on this issue using our connect site.<br><br>FAQ thread provides the information on how to log bugs.<br><a href="http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/534719b4-4965-4d73-a18b-59c10f74e457">http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/534719b4-4965-4d73-a18b-59c10f74e457</a><hr size="1" align="left" width="25%">This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Thu, 13 Nov 2008 17:40:36 Z2008-11-13T17:40:36Zhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#02d477df-9ec3-46a9-b8c4-7b6baf7c62c3http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#02d477df-9ec3-46a9-b8c4-7b6baf7c62c3Nishant Guptahttp://social.msdn.microsoft.com/Profile/en-US/?user=Nishant%20GuptaException thrown when trying to access Profiles This has been captured as a bug in our database and will look into it.<br><hr size="1" align="left" width="25%">Program Manager - Live Services / Live FrameworkThu, 13 Nov 2008 23:46:04 Z2008-11-13T23:46:04Zhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#e808cbdb-fc61-4c62-916e-d4d77e9a0c4ahttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#e808cbdb-fc61-4c62-916e-d4d77e9a0c4aScott Lovegrovehttp://social.msdn.microsoft.com/Profile/en-US/?user=Scott%20LovegroveException thrown when trying to access ProfilesExcellent, thanks :)<hr size="1" align="left" width="25%">SL - Windows Live Platform MVPFri, 14 Nov 2008 09:14:35 Z2008-11-14T09:14:35Zhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#2807adbf-3009-4659-9f49-2eb17de9252bhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#2807adbf-3009-4659-9f49-2eb17de9252bVikas-Ahujahttp://social.msdn.microsoft.com/Profile/en-US/?user=Vikas-AhujaException thrown when trying to access ProfilesScott,  This error should be fixed with the latest build deployed last night. Please try it out!<hr class="sig">This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Fri, 21 Nov 2008 16:59:40 Z2008-11-21T16:59:40Zhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#028f9d2a-4cc9-4d55-9253-74f2297fdb80http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/03241ce4-43c0-4b13-821d-5a2c71f1374a#028f9d2a-4cc9-4d55-9253-74f2297fdb80Scott Lovegrovehttp://social.msdn.microsoft.com/Profile/en-US/?user=Scott%20LovegroveException thrown when trying to access ProfilesYep, that has indeed fixed it :) Thanks :)<hr class="sig">SL - Windows Live Platform MVPFri, 21 Nov 2008 17:06:32 Z2008-11-21T17:06:32Z