Background Agent and Windows Live SDK 5.6

I have successfully added code to the AudioPlayBackAgent (background agent) to allow access to Onedrive files. The app runs perfectly on my development phone. However when I attempt to load it to the Windows Phone Store, I get errors saying the code is attempting
to use Microsoft.Phone.Controls.WebBrowser and many other similar errors, when in fact I do not have any of this in the AudioPlayBackAgent.
Here is the entire list of errors:
Validation errors
2011: The background agent can’t use Microsoft.Phone.Controls.WebBrowser::add_NavigationFailed, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Controls.WebBrowser::add_Navigating, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use System.Windows.Navigation.NavigationFailedEventArgs, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use System.Windows.Navigation.NavigationFailedEventHandler, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Controls.PhoneApplicationPage::add_BackKeyPress, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use System.Windows.Navigation.NavigationFailedEventHandler::.ctor, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Controls.WebBrowser::set_IsScriptEnabled, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Shell.SystemTray::get_IsVisible, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.BackgroundTransfer.BackgroundTransferService::Add, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Controls.PhoneApplicationPage, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Controls.PhoneApplicationPage::remove_BackKeyPress, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Controls.WebBrowser::Navigate, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Controls.PhoneApplicationPage::set_ApplicationBar, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Controls.WebBrowser::get_CanGoBack, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Controls.WebBrowser::add_Navigated, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Controls.WebBrowser::.ctor, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Controls.WebBrowser, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Shell.IApplicationBar, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Shell.SystemTray, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Controls.WebBrowser::GoBack, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Controls.WebBrowser::remove_Navigated, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Controls.PhoneApplicationFrame, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
2011: The background agent can’t use Microsoft.Phone.Controls.PhoneApplicationPage::get_ApplicationBar, which assembly Microsoft.Live.dll is trying to use. Update your file and then try again.
There must be a solution to this, since the program works perfectly. Any help anyone can provide would be very helpful.
Thanks!

From the errors it sounds like Microsoft.Live.dll is using API that aren't allowed in a Background Agent. See
Unsupported APIs for background agents for Windows Phone 8 .
This means that the Microsoft.Live namespace isn't designed for or supported in a background agent. You'll need to use some other means to get the functionality you are looking for. You may need to talk to
OneDrive's Rest API via HttpClient instead of using the wrapper. See
Using the REST API
For more help with the Live SDK check out the
OneDrive dev center . For discussion of Live SDK development please see the Live Connect forum
or use the OneDrive tag on StackOverflow.

Similar Messages

  • Is PS Elements 12.0 compatible with Windows 7 and Windows Live Mail??

    Is the Organize/eMail part of Elements 12.0 compatible with my Windows 7 and Windows Live Mail?  I have never been able to make it work with my Elements 9.0 after many hours of trying.  The problem is acknowledged by Adobe and a solution offered but the solution does not work in any of my three Windows 7 computers.  Any help will be greatly appreciated.

    Brian, Thank you for responding.  I actually have two different questions on the same topic so I'll discuss them one at a time.
    1.  When I purchased a new Windows 7 computer several years ago I also purchased PSE 9.0 because I had been told my old PSE 4.0 would not work with W7.  I didn't get around to installing it until last fall--PSE 4.0 was working fine on the XP machine and I didn't have the time.  PSE 9.0 installed fine but I could not email a  photo from the Organizer.  I recently got interested in fixing the problem which has turned out to be more difficult than I could imagine.  I found a lot of evidence on the web that to make it work with W7/Windows Live Mail  you needed to make some patches in the registry.  I tried to follow the Adobe instruction a number of times but when I got down to: " 4. On your desktop, double-click SetDefaultEmailClient.reg. If prompted, click Continue. Click Yes on the Registry Editor confirmation prompt." it would not work.   Double clicking would bring up the browser with some register-like statements:  [Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Microsoft Internet Mail Message] [HKEY_CLASSES_ROOT\Microsoft Internet Mail Message\shell] [HKEY_CLASSES_ROOT\Microsoft Internet Mail Message\shell\open] [HKEY_CLASSES_ROOT\Microsoft Internet Mail Message\shell\open\command] @="C:\\Program Files (x86)\\Windows Live\\Mail\\wlmail.exe /mailurl:%1" ].  I did not get a "Continue" to click on or a "Yes on the Registry Editor confirmation prompt".   I got nothing to take action on that might cause the registry to be updated with the specified patches.  I'm no expert on modifying the registry and this is beyond my understanding.  It just didn't do what it implied it would and I'm lost.  I've tried in on my WLM 2011 computer and on my brand new W7 notebook computer with WLM 2012.  I tried it using my normal browser, Firefox, and using Internet Explorer.
    PSE 9.0 does indeed show Windows Live Mail as an option under Edit/Preferences/Sharing and I have selected it.  When I try to share a photo via email all seems to go normally to the end when I get the message:  "Elements Organizer could not finish creating your E-mail message."  And, that is really not very helpful.  When I Google on that "Elements Organizer could not finish creating your E-mail message" I find that I'm far from being the only one with this problem and people with PSE 8.0, PSE 10.0 and PSE 11.0 have reported the problem.  I've found no way to communicate with Adobe and even their main support number, 800-883-6687, comes on with a message "this number is temporarily unavailable"!! I've called over 50 times over several days. That seems quite unusual.  It seems like selling a software product that is incompatible with one of the most popular Microsoft operating systems and email clients would not be a good thing.   Sorry for all the words but I wanted to define the situation as well as I can.
    2.  Given all of the time I've I spent without solving the problem it seemed tossing my PSE 9.0 and switching to PSE 12.0 might have been a smart move many months ago.  And, I'm considering it now.  That is why I really would like to get some assurance from Adobe that the problem is fixed and that I will have no problems with PSE 12.0, at least with emailing from the Organizer.  The news that it is working for you is encouraging and I hope others will report on the luck they have had.  You say it works better with WLM 2012 than with WLM 2011 but I don't know what that means.  It seems that the minimum requirement is that any time you want to send a photo via email, it works!
    If anyone knows how you can contact Adobe, by phone or email, please let me know.
    Thank you very much, Brian.
    Jim

  • Email links in Firefox 5.0 will not auto open in Outlook 2010 AND Windows Live Mail 2011

    Outlook msg: General failure. An error occured in sending command to the application.
    Windows Line Mail: There was a problem sending command to the program.

    Many thanks jscher2000, problem solved.
    Firefox 5.0
    Windows 7 Pro.
    Outlook 2010
    Windows Live Mail 2011
    In the article, only plugin.disable_full_page_plugin_for_types was present. After resetting then closing Firefox, normal service was resumed.
    Links now opening from Outlook 2010 and Windows Live Mail 2011.

  • I have Windows computers.  My email is Outlook Express and Windows Live Mail.  What email service does Apple use on the MacBook Pro?

    I have Windows computers.  My email is Outlook Express and Windows Live Mail.  What email service does Apple use on the MacBook Pro?

    Hi..
    The native Mac Mail app. Comes pre installed on all Macs.
    http://www.apple.com/support/mail/

  • Pc icloud setup with IE9 and windows live mail

    can the icloud be set up on a pc with windows 7 using IE9 and windows live mail?

    No, he means this:
    http://download.live.com/wlmail
    Please adivse when PC Suite will support Windows Live Mail (it includes a calendar too)
    Message Edited by spiny on 05-Mar-2009 11:19 PM

  • BTYahoo and Windows Live Mail

    Hi,
    I use BTYahoo online mail, and Windows Live Mail desktop client. I want to be able to sync my Windows Live Mail address book with BTYahoo mail. Is this possible?
    Thanks
    Dave.

    Well I suppose the good news is that I am not the only person with this problem but it has made me think of a possible resolution.
    Trying to follow this logically, I am not getting any problems with my android devices which connect wirelessly so I am not sure that it can be slow broadband connection or intermittent line problems bearing in mind that my PC is connected to the router by ethernet cable which should be better than wifi. It would therefore seem to be the way that Windows Live Mail is connecting, and on checking I see that the server settings are different. I have matched my PC to the Android settings and I will report back the results.
    I can quite see if the server keeps dropping the connection for some reason or different servers settings are being used to access the emails then this might trigger the request for a new password.

  • PSE9 and Windows Live Mail - Help

    I am trying to send photos via "Share" email attachement and Windows Live Mail.  I get to the part where you are supposed to be sent to WLM, and then it comes up with the error message "Elements Organizer could not finish creating your e-mail message.  Alternately, you can use Adobe E-mail Service via the Elements organizer preference dialog."  WLM has been selected as the mail server in the preferences section of Elements, and also in Windows 7.
    I don't want to send mail through Adobe E-mail Service, but I did try that.  I get to the same spot, and the entire program crashes.
    Furstrated!

    Adobe have had problems with the Windows 7 email client ever since they issued a patch for PSE8.
    Furthermore it will not work with 64 bit editions of Outlook, to the disappointment of many but you would think they would have sorted out Live Mail before launching PSE9. The product help screens are entirely misleading.
    Both PSE8 and PSE9 are said to be Windows 7 compatible, but in reality they aren’t. Even after downloading the patch Adobe customers are still reporting problems.
    If you are using a purchased copy of PSE9, rather than the trial I would suggest you raise a ticket with the support team and claim your entitlement to help with a solution.
    http://kb2.adobe.com/cps/848/cpsid_84866.html
      

  • Intranet email with apple mail and windows live mail on LAN

    i have a home wifi network and have two computers using it. one is my macbook and other is my toshiba vista laptop. now my bro and i often exchange emails. he uses windows live mail and i use apple mail. since we are on a slow internet connection with limited data usage per month i was wondering if we could email each other directly over our wifi LAN network without having to use our ISP. i know that we wont be able to use our gmail, yahoo or hotmail or other such internet based IDs but maybe we can make a LAN based ID and exchange emails.
    any suggestions?

    There's no practical, simple way to do that as far as I know. Apple Mail, like virtually every other mail program is only able to communicate with a mail server, not with another such program.
    You would either need to set up a mail server on your LAN (not a trivial task) or you'd have to find a "peer-to-peer" email program and I'm not aware of any such application. Furthermore, in your situation, it would have to be cross-platform (Windows and Mac).
    In more technical terms, the email programs we all use are "Mail User Agents" (MUA). An MUA has to communicate with a "Mail Transfer Agent" (MTA), i.e. the email server. An MUA has NO way to communicate directly with another MUA.

  • Background agents for Windows Phone scheduled duration

    Hi! Sorry for my bad English. Scheduled duration for periodic agents in windows phone is 25 seconds. I want load music for user in background and I use periodic agents, but I need more than 25 seconds. Can I do something like this ?
    protected override void OnInvoke(ScheduledTask task)
    //Method that load song async
    // but we don't wait it in periodic task
    LoadSongAsync();
    NotifyComplete();

    Hi! Background tasks in Windows Phone are intended for small work ítems, to preserve battery life. You can check the ResourceIntensiveTask:
    http://msdn.microsoft.com/en-us/library/windows/apps/microsoft.phone.scheduler.resourceintensivetask(v=vs.105).aspx
    If you need more tan 25 seconds to play music because you're trying to download it,
    as suggested by Eric Fleck, remember you can stream the music from the server.
    There is no need to download it.

  • Just 'upgraded' to Windows Phone 7, now my contacts can't synch from the PC, and Windows Live has a 500KB limit? Is there a way around this nightmare??

    For years I was happily plugging in my Palm Treo Pro, and having my contacts and calendar synch with my PC, WITHOUT the need for that information to be stored on the cloud, where anyone could get at it. When that died recently, I bought a used Windows 7
    phone.
    So far, it sucks. And it's not the phone that's the problem.
    My main issue is that I have diligently exported my (over 5000) contacts from Outlook as a CSV file, and went to import them into Windows Live, only to discover that there's a 500KB limit. That's somewhere around 500 contacts.
    ARE YOU SERIOUS?!? You really need me to set up 10 different files, to import stuff onto the cloud? 
    Please tell me there is a way around this limit, or (better yet) a way to synch directly with my PC, so I can avoid this whole Windows Live disaster?? I want to use Outlook. It's a Microsoft product! 
    Please help!
    Deb

    Hi,
    I'm not sure about the Microsoft Account Contact limit, for this issue, you may post the question to Microsoft Community:
    http://answers.microsoft.com/en-us/outlook_com
    If you still have the contacts in your Outlook Client, I suggest you setup the Microsoft Account(Windows Live) in Outlook via Exchange ActiveSync, then move the contacts to the contacts folder of the Microsoft Account, let it sync, then all will be done,
    you don't have to export and import the .csv file any more.
    How to configure Outlook to connect to an outlook.com email account
    http://support.microsoft.com/kb/2735989
    Regards,
    Melon Chen
    TechNet Community Support

  • Photoshop Elements and Windows Live Mail :(

    Had Adobe come out with a patch yet to fix their oversight regarding WLM?  Windows 7 had WLM and you can't get PE to send photos to WLM.  It's very disappointing.  I hate to abandon my favorite photo email software for something that works......  but looks like I'll have to.
    ADOBE PEOPLE - PLEASE HELP.
    signed...
    Gale in upstate NY.

    I'll repost this problem.   How do you get Photoshop Elements  8 to work with Windows Live Mail that comes with Windows 7?  THANKS.

  • Firefox unstable with Hot Mail and Windows Live Forum pages

    In URL (1) below, which is the Windows Live Help Forum, the page loads initially but does not complete loading. The tab heading (above the URL), keeps flickering and the page does not finish loading. Impossible to do any editing or making entries because even scrolling is not possible. The scroll bar cannot be controlled. Either, it cannot be moved or when moved it jumps back to where it was.
    In URL (2) below, which is my Hot Mail Inbox, the problem is similar but on a lesser scale. The tab heading (above the URL), is flickering very often which is distracting when typing an email etc. but the page is reasonably stable although it looks like the page is never completely loaded. There are times that the the page stabilizes after a while.
    Other internet web pages does not cause any problems.

    Nice link and suggestion Smirnoff.
    I assume that toolbar sits in the BTYahoo browser, (don't use it here) which is being phased out I think, so it's unlikely BT tech guys will do anything.
    Even if the toolbar is uninstalled the registry remains the same and auto log in to WLM does not work  so "Make Messenger Remember Me" could be a useful tool for those still irritated by this who turn to another browser.
    Value Added Guest (Inspiring Not Aspiring)
    Rate a post if you like it! - just click the star under the user's name on the left. (N.B. ratings facility no longer available in Forum Help and Suggestions; nor is it available in the Lounge)

  • Itunes 9 just installed along with Explorer 8 and Windows Live...

    Hello- Itunes says cannot connect with store sometimes, but then connects at other times. Then diagnoses says cannot creat secure link with store. Then it was all good and I bought an album.. it didn't download 3 of the songs, will I get charged? Also, how can I trouble shoot the connection. I have firewall set for allowing Itunes. I have recently upgraded to Explorer 8 with Windows Live and installed Itunes 9. My high speed connection and router are 100% a-ok. Will someone please suggest any cures for these issues, I like Itunes and would like to continue to use the store but this is the first bummer I've had so far...

    I am not sure about intermittent secure connection failure, but something you could try which often works with isolated secure connection failure is this:
    Go to Internet Options>>Advanced tab.
    Uncheck "Check for server certificate revocation".
    This should normally be checked, but it can sometimes cause connection problems. I also seems like something that could be intermittent.

  • Webcam on Satellite A500 using Windows 7 and Windows Live Messenger 2009 (14.0.8089​.726)

    Hello. This is my very first post and maybe I can find a resolution to the problem. Thank you for taking the time to read this and thank you if you can assist me in resolving the problem.
    I recently upgraded from Windows Vista Home Premium to Windows 7 Home Premium using the Windows 7 Upgrade Media that was sent to me for my Toshiba Satellite A500. The upgrade loaded successfully. My laptop already had the Windows Live (MSN) Messenger on it when I was using Windows Vista and the webcam worked okay then. Now with Windows 7, when I try to do a voice/video chat using the Windows Live (MSN) Messenger version 2009 (Build 14.0.8089.726), my built-in laptop webcam does not work. When I initiate a voice/video chat, all I get is a big red X next to the webcam icon in the little view area window when it attempts to run. I can receive voice/video from people using MSN Messenger but my laptop can't send out any video. My laptop sends out voice but no video. I un-installed the Messenger, rebooted and re-installed it but it still won't do video output.
    Interestingly, when I tried doing a voice/video chat with Gmail, my webcam worked. I haven't tried Yahoo yet. My webcam worked fine before upgrading to Windows 7. I suppose I could just forget about MSN Messenger and use Gmail but not all my contacts use Gmail. I'd like to be able to continue using MSN Messenger if possible.
    So I'm posting here to see if there is any resolution or suggestions I can have to get my webcam working with Windows Live (MSN) Messenger. Not the end of the world if I can't make it work again.
    Have a nice day. Regards,
    Doug 

    this is the latest version of youcam http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-68857-1&lc=en&dlc=en&cc=us&...

  • Desktop 6.0 and Windows Live Contacts

    Can I sync Windows Live Contacts with the new Blackberry Desktop 6.0 software? If so, how?

    Hi and Welcome to the Forums!
    Please see this system requirements page:
    http://na.blackberry.com/eng/services/desktop/system_requirements.jsp
    Since the one you seek is not listed, it is likely not compatible.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for

  • I have a new computer and am trying to transfer multiple iTunes accounts

    Ok, here is the long story: I have new computer and want to transfer iTunes libraries. There are 3 different iPods connected to the old computer (Windows XP, 3 different users). I utilize an external hard drive to store all the music, although iTunes

  • THX option in new X-Fi web driv

    Hey I just formated and installed XP and since i have X-Fi ExtremeMusic card, i wanted the latest drivers... So I Downloaded Creative Sound Blaster X-Fi series Driver 2.8.0004 which had no volume control at all... only the driver (well... i could hav

  • Can not add or Edit in Address book

    please help. i can not add or Edit any thing on address book Erro i am getting as below. Uncaught Exception : Application net_rim_bb_addressbook_app (232) is not responding; process terminated Pls let me know what to do now. Thanks VInod

  • Cannot sync Calendar to new iPhone: OutlookSyncClient.exe error

    Hello. I just got my 4GB iPhone yesterday and started experiencing Calendar synchronization problems immediately. Everything else syncs fine, just not the calendar. The error I get is: "OutlookSyncClient.exe has encountered a problem and needs to clo

  • Can't get the left swipe to work to delete! argh!

    I cannot get my music to delete by swiping right to left. Is there a special area that i have to do it? It just ends up playing when i try.