Windows Azure Platform Developer Center > Azure Forums > Live Framework > Error accessing Contacts from Live Operating Environment
Ask a questionAsk a question
 

AnswerError accessing Contacts from Live Operating Environment

  • Tuesday, November 04, 2008 4:46 PMScott LovegroveMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I'm getting a similar issue when trying to get the contacts on the cloud version. The exception I get is a LiveOperationException, with the message of: "Live operation failed, please review the innerException for transport level exception details". When I look in the innerException, it's null.

    This is a silverlight mesh app using the livefx tools for VS. Let me know if you need to see the code for this.

    SL - Windows Live Platform MVP

Answers

All Replies

  • Tuesday, November 04, 2008 5:16 PMDanny ThorpeMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Scott, see my reply in your other thread.  Need to check the app permissions.  If I'm right, I'll explain how to fix it.

    -Danny
    http://dannythorpe.com
  • Tuesday, November 04, 2008 5:19 PMScott LovegroveMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    My App permissions are as follows:

    Permissions
    Read access to my Live Mesh object
    Read access to my Windows Live Contacts
    Read access to my Live Mesh User News

    SL - Windows Live Platform MVP
  • Tuesday, November 04, 2008 5:40 PMVikas-AhujaMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Has Code
    I am going to split this thread into a new one with the subject: "Error accessing Contacts from Live Operating Environment".
    Scott,  
    Please verify using LiveFxResourceBrowser.exe what offers are specified for your application by browsing through Cloud Live Operating Environment --> Mesh --> InstalledApplications --> <your app>

    The offers should look like this:

          <InstalledApplicationResourceContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://user.windows.net">  
            <Offers> 
              <Offer> 
                <OfferName>DeveloperCTPProfiles.Read</OfferName> 
              </Offer> 
              <Offer> 
                <OfferName>DeveloperCTPDevices.Read</OfferName> 
              </Offer> 
              <Offer> 
                <OfferName>DeveloperCTPContacts.Write</OfferName> 
              </Offer> 
              <Offer> 
                <OfferName>DeveloperCTPNews.Full</OfferName> 
              </Offer> 
            </Offers> 
            <Version>2</Version> 
          </InstalledApplicationResourceContent> 
     



    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Tuesday, November 04, 2008 6:02 PMVikas-AhujaMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Scott - Danny has posted a note on how to fix permissions issue when creating application from Live Framework Tools. Read it here:
    http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/695f4201-7ab3-4942-bf45-b929f75f2237
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Friday, November 07, 2008 5:58 PMVikas-AhujaMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Scott - can you please confirm if this has been resolved?
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Monday, November 10, 2008 1:50 PMScott LovegroveMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Sorry for the delay, I have been away for a few days. I can confirm that Danny's workaround does work and I can now access the contacts. Thanks.
    SL - Windows Live Platform MVP