BackgroundExecutionManager.RequestAccessAsync() Element not found.
Working on Background Task for Windows Store app I faced a annoying issue, while calling:
await BackgroundExecutionManager.RequestAccessAsync();
I’ve received the following error:

The problem was I put BreakPoint before the line, once I’ve removed the breakpoint below that line everything works just fine.
I don’t know why this is happening but this is how I “Solved” the problem.
Enjoy