Fixing app permissions set by Live Framework Tools for Microsoft Visual Studio We've discovered a bug in how the VS tools set permission values for Live Mesh apps uploaded using the Live Framework Tools for Microsoft Visual Studio (&quot;VS tools&quot;).  This results in your mesh app running with fewer permissions than the intended default permission set, which will prevent your app from modifying mesh feeds for contacts or news.<br><br>You can fix the default permissions on your app after you perform the first upload steps in VS and the dev portal.<br><br> <ol> <li>Perform the first-time app upload steps in VS to upload the zip to the dev portal and set the app self link in the VS project.</li> <li>In VS, press F5 again to verify that your mesh app starts up in Live Desktop in the browser, under VS debugger control.</li> <li>Close the Live Desktop browser to end the debug session.</li> <li>Open a new browser window and log into Live Desktop (<a href="http://developer.mesh-ctp.com">http://developer.mesh-ctp.com</a>) </li> <li>Select the Apps page.  </li> <li>Find your mesh app in the list of installed mesh apps.  Click on the name of your mesh app instance to view its details page.</li></ol> <p><br>The permissions listed on the details page will look like this:<br><br><font class=Apple-style-span style="font-weight:normal;word-spacing:0px;text-transform:none;line-height:15px;font-style:normal;white-space:normal;letter-spacing:normal;border-collapse:separate;text-align:left;font-variant:normal" face="'Segoe UI'" color="rgb(0,0,0)" size=3> <table class=genericShadowContainer style="table-layout:fixed;width:100%;border-top-style:none;line-height:130%;border-right-style:none;border-left-style:none;border-bottom-style:none" cellspacing=0> <tbody style="line-height:130%"> <tr style="vertical-align:top;border-top-style:none;line-height:130%;border-right-style:none;border-left-style:none;border-bottom-style:none"> <td class=memberCardHeader id=permissionsLabel style="display:block;font-weight:bold;width:100%;color:rgb(0,0,0);line-height:130%" colspan=2>Permissions<br style="line-height:130%"></td></tr> <tr style="vertical-align:top;border-top-style:none;line-height:130%;border-right-style:none;border-left-style:none;border-bottom-style:none"> <td id=offersStackPanel style="line-height:130%" colspan=2> <table id="$offersStackPanelItemTemplate" style="width:100%;line-height:130%;background-color:rgb(221,221,221)" cellspacing=0 cellpadding=0> <tbody style="line-height:130%"> <tr style="padding-bottom:5px;vertical-align:top;border-top-style:none;line-height:130%;padding-top:5px;border-right-style:none;border-left-style:none;border-bottom-style:none"> <td class=offerContainer style="line-height:130%"><font class=profileContent id=offerLabel style="line-height:130%">Read access to my Live Mesh object</font> </td></tr> <tr style="vertical-align:top;border-top-style:none;line-height:130%;border-right-style:none;border-left-style:none;border-bottom-style:none"> <td class=offerContainer id=offerInstances style="line-height:130%"></td></tr></tbody></table> <table id="$offersStackPanelItemTemplate" style="width:100%;line-height:130%" cellspacing=0 cellpadding=0> <tbody style="line-height:130%"> <tr style="padding-bottom:5px;vertical-align:top;border-top-style:none;line-height:130%;padding-top:5px;border-right-style:none;border-left-style:none;border-bottom-style:none"> <td class=offerContainer style="line-height:130%"><font class=profileContent id=offerLabel style="line-height:130%">Read access to my Windows Live Contacts</font> </td></tr> <tr style="vertical-align:top;border-top-style:none;line-height:130%;border-right-style:none;border-left-style:none;border-bottom-style:none"> <td class=offerContainer id=offerInstances style="line-height:130%"></td></tr></tbody></table> <table id="$offersStackPanelItemTemplate" style="width:100%;line-height:130%;background-color:rgb(221,221,221)" cellspacing=0 cellpadding=0> <tbody style="line-height:130%"> <tr style="padding-bottom:5px;vertical-align:top;border-top-style:none;line-height:130%;padding-top:5px;border-right-style:none;border-left-style:none;border-bottom-style:none"> <td class=offerContainer style="line-height:130%"><font class=profileContent id=offerLabel style="line-height:130%">Read access to my Live Mesh User News</font></td></tr></tbody></table></td></tr></tbody></table></font></p>To adjust the permissions to the correct default values, click on the &quot;Edit&quot; link in the top right corner of the panel.<br><br>An &quot;Access Permission&quot; page will be displayed.  Click Allow Access.  <br><br>Click on the app instance link in the installed applications list to view the app's details page again.<br><br>The app permissions should now look like this:<br><br> <table class=genericShadowContainer cellspacing=0> <tbody> <tr> <td class=memberCardHeader id=permissionsLabel style="display:block" colspan=2><strong>Permissions</strong><br></td></tr> <tr> <td id=offersStackPanel colspan=2> <table id="$offersStackPanelItemTemplate" style="width:100%;background-color:#dddddd" cellspacing=0 cellpadding=0> <tbody> <tr style="padding-bottom:5px;padding-top:5px"> <td class=offerContainer><font class=profileContent id=offerLabel>Read access to my Windows Live Profiles</font> </td></tr> <tr> <td class=offerContainer id=offerInstances></td></tr></tbody></table> <table id="$offersStackPanelItemTemplate" style="width:100%" cellspacing=0 cellpadding=0> <tbody> <tr style="padding-bottom:5px;padding-top:5px"> <td class=offerContainer><font class=profileContent id=offerLabel>Read access to my Live Mesh Devices</font> </td></tr> <tr> <td class=offerContainer id=offerInstances></td></tr></tbody></table> <table id="$offersStackPanelItemTemplate" style="width:100%;background-color:#dddddd" cellspacing=0 cellpadding=0> <tbody> <tr style="padding-bottom:5px;padding-top:5px"> <td class=offerContainer><font class=profileContent id=offerLabel>Read and update access to my Windows Live Contacts</font> </td></tr> <tr> <td class=offerContainer id=offerInstances></td></tr></tbody></table> <table id="$offersStackPanelItemTemplate" style="width:100%" cellspacing=0 cellpadding=0> <tbody> <tr style="padding-bottom:5px;padding-top:5px"> <td class=offerContainer><font class=profileContent id=offerLabel>Full access to my Live Mesh User News</font></td></tr></tbody></table></td></tr></tbody></table><br>Your mesh app can now write to its contacts and news feeds.<br><br>This permissions adjustment only needs to be done <strong>once</strong> after the VS tools have uploaded the app for the first time.  Subsequent edits &amp; updates by VS will not change the permissions.<br><br>This default permissions bug will be fixed in the next update of the VS tools.<br><br>-Danny <hr align=left width="25%" size=1> http://dannythorpe.com© 2009 Microsoft Corporation. All rights reserved.Thu, 05 Feb 2009 03:23:03 Z695f4201-7ab3-4942-bf45-b929f75f2237http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/695f4201-7ab3-4942-bf45-b929f75f2237#695f4201-7ab3-4942-bf45-b929f75f2237http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/695f4201-7ab3-4942-bf45-b929f75f2237#695f4201-7ab3-4942-bf45-b929f75f2237Danny Thorpehttp://social.msdn.microsoft.com/Profile/en-US/?user=Danny%20ThorpeFixing app permissions set by Live Framework Tools for Microsoft Visual Studio We've discovered a bug in how the VS tools set permission values for Live Mesh apps uploaded using the Live Framework Tools for Microsoft Visual Studio (&quot;VS tools&quot;).  This results in your mesh app running with fewer permissions than the intended default permission set, which will prevent your app from modifying mesh feeds for contacts or news.<br><br>You can fix the default permissions on your app after you perform the first upload steps in VS and the dev portal.<br><br> <ol> <li>Perform the first-time app upload steps in VS to upload the zip to the dev portal and set the app self link in the VS project.</li> <li>In VS, press F5 again to verify that your mesh app starts up in Live Desktop in the browser, under VS debugger control.</li> <li>Close the Live Desktop browser to end the debug session.</li> <li>Open a new browser window and log into Live Desktop (<a href="http://developer.mesh-ctp.com">http://developer.mesh-ctp.com</a>) </li> <li>Select the Apps page.  </li> <li>Find your mesh app in the list of installed mesh apps.  Click on the name of your mesh app instance to view its details page.</li></ol> <p><br>The permissions listed on the details page will look like this:<br><br><font class=Apple-style-span style="font-weight:normal;word-spacing:0px;text-transform:none;line-height:15px;font-style:normal;white-space:normal;letter-spacing:normal;border-collapse:separate;text-align:left;font-variant:normal" face="'Segoe UI'" color="rgb(0,0,0)" size=3> <table class=genericShadowContainer style="table-layout:fixed;width:100%;border-top-style:none;line-height:130%;border-right-style:none;border-left-style:none;border-bottom-style:none" cellspacing=0> <tbody style="line-height:130%"> <tr style="vertical-align:top;border-top-style:none;line-height:130%;border-right-style:none;border-left-style:none;border-bottom-style:none"> <td class=memberCardHeader id=permissionsLabel style="display:block;font-weight:bold;width:100%;color:rgb(0,0,0);line-height:130%" colspan=2>Permissions<br style="line-height:130%"></td></tr> <tr style="vertical-align:top;border-top-style:none;line-height:130%;border-right-style:none;border-left-style:none;border-bottom-style:none"> <td id=offersStackPanel style="line-height:130%" colspan=2> <table id="$offersStackPanelItemTemplate" style="width:100%;line-height:130%;background-color:rgb(221,221,221)" cellspacing=0 cellpadding=0> <tbody style="line-height:130%"> <tr style="padding-bottom:5px;vertical-align:top;border-top-style:none;line-height:130%;padding-top:5px;border-right-style:none;border-left-style:none;border-bottom-style:none"> <td class=offerContainer style="line-height:130%"><font class=profileContent id=offerLabel style="line-height:130%">Read access to my Live Mesh object</font> </td></tr> <tr style="vertical-align:top;border-top-style:none;line-height:130%;border-right-style:none;border-left-style:none;border-bottom-style:none"> <td class=offerContainer id=offerInstances style="line-height:130%"></td></tr></tbody></table> <table id="$offersStackPanelItemTemplate" style="width:100%;line-height:130%" cellspacing=0 cellpadding=0> <tbody style="line-height:130%"> <tr style="padding-bottom:5px;vertical-align:top;border-top-style:none;line-height:130%;padding-top:5px;border-right-style:none;border-left-style:none;border-bottom-style:none"> <td class=offerContainer style="line-height:130%"><font class=profileContent id=offerLabel style="line-height:130%">Read access to my Windows Live Contacts</font> </td></tr> <tr style="vertical-align:top;border-top-style:none;line-height:130%;border-right-style:none;border-left-style:none;border-bottom-style:none"> <td class=offerContainer id=offerInstances style="line-height:130%"></td></tr></tbody></table> <table id="$offersStackPanelItemTemplate" style="width:100%;line-height:130%;background-color:rgb(221,221,221)" cellspacing=0 cellpadding=0> <tbody style="line-height:130%"> <tr style="padding-bottom:5px;vertical-align:top;border-top-style:none;line-height:130%;padding-top:5px;border-right-style:none;border-left-style:none;border-bottom-style:none"> <td class=offerContainer style="line-height:130%"><font class=profileContent id=offerLabel style="line-height:130%">Read access to my Live Mesh User News</font></td></tr></tbody></table></td></tr></tbody></table></font></p>To adjust the permissions to the correct default values, click on the &quot;Edit&quot; link in the top right corner of the panel.<br><br>An &quot;Access Permission&quot; page will be displayed.  Click Allow Access.  <br><br>Click on the app instance link in the installed applications list to view the app's details page again.<br><br>The app permissions should now look like this:<br><br> <table class=genericShadowContainer cellspacing=0> <tbody> <tr> <td class=memberCardHeader id=permissionsLabel style="display:block" colspan=2><strong>Permissions</strong><br></td></tr> <tr> <td id=offersStackPanel colspan=2> <table id="$offersStackPanelItemTemplate" style="width:100%;background-color:#dddddd" cellspacing=0 cellpadding=0> <tbody> <tr style="padding-bottom:5px;padding-top:5px"> <td class=offerContainer><font class=profileContent id=offerLabel>Read access to my Windows Live Profiles</font> </td></tr> <tr> <td class=offerContainer id=offerInstances></td></tr></tbody></table> <table id="$offersStackPanelItemTemplate" style="width:100%" cellspacing=0 cellpadding=0> <tbody> <tr style="padding-bottom:5px;padding-top:5px"> <td class=offerContainer><font class=profileContent id=offerLabel>Read access to my Live Mesh Devices</font> </td></tr> <tr> <td class=offerContainer id=offerInstances></td></tr></tbody></table> <table id="$offersStackPanelItemTemplate" style="width:100%;background-color:#dddddd" cellspacing=0 cellpadding=0> <tbody> <tr style="padding-bottom:5px;padding-top:5px"> <td class=offerContainer><font class=profileContent id=offerLabel>Read and update access to my Windows Live Contacts</font> </td></tr> <tr> <td class=offerContainer id=offerInstances></td></tr></tbody></table> <table id="$offersStackPanelItemTemplate" style="width:100%" cellspacing=0 cellpadding=0> <tbody> <tr style="padding-bottom:5px;padding-top:5px"> <td class=offerContainer><font class=profileContent id=offerLabel>Full access to my Live Mesh User News</font></td></tr></tbody></table></td></tr></tbody></table><br>Your mesh app can now write to its contacts and news feeds.<br><br>This permissions adjustment only needs to be done <strong>once</strong> after the VS tools have uploaded the app for the first time.  Subsequent edits &amp; updates by VS will not change the permissions.<br><br>This default permissions bug will be fixed in the next update of the VS tools.<br><br>-Danny <hr align=left width="25%" size=1> http://dannythorpe.comTue, 04 Nov 2008 17:54:00 Z2008-11-11T21:23:49Zhttp://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/695f4201-7ab3-4942-bf45-b929f75f2237#43ea4cd6-9f76-426d-9755-f963bb7fb938http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/695f4201-7ab3-4942-bf45-b929f75f2237#43ea4cd6-9f76-426d-9755-f963bb7fb938Vikas-Ahujahttp://social.msdn.microsoft.com/Profile/en-US/?user=Vikas-AhujaFixing app permissions set by Live Framework Tools for Microsoft Visual Studio<p>This issue has been fixed with January 2009 CTP Release. <br><a href="http://blogs.msdn.com/liveframework/archive/2009/02/02/live-framework-tools-january-ctp.aspx">http://blogs.msdn.com/liveframework/archive/2009/02/02/live-framework-tools-january-ctp.aspx</a></p><hr class="sig">This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Tue, 03 Feb 2009 04:33:13 Z2009-02-03T04:33:13Z