I get following message when I try to add "Periodic Task" to "ScheduledActionService" in Windows Phone 8 Application.
"The drive cannot locate a specific area or track on the disk."
I am really not sure if this is related to Visual Studio 2012 that I am using or related to Periodic Tasks on Windows Phone 8.
The same piece of code works fine in Windows Phone 7.
I found the solution here: http://social.msdn.microsoft.com/forums/en-us/wpdevelop/thread/a973955e-0981-4be8-8ac0-8dfcb9dc2917/
You need to manually update your WPAppManifest.xml file and configure the background task there.
Appears to be normal behavior, not related to emulator or debugging.
There is a excellent explanation as to what is required by microsoft for background task in the msdn tutorial videos.
It references your problem at around 24:30 with editing the WPAppManifest.xml file.
He explains step by step what needs to be done and why.
http://channel9.msdn.com/Series/Windows-Phone-8-Development-for-Absolute-Beginners/Part-34-Creating-a-Background-Agent-for-Scheduled-Tasks
Also I got a null reference exception after fixing the WPAppManifest.xml when called from the the main project, turns out the main project also has to reference the scheduler project (even if not using anything in it).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With