locked
UnauthorizedAccessException on new ControlChannelTrigger on Windows 10 9926

    Question

  • Hi,
    Since I upgrade to Windows 10 build 9926 I'm experiencing some trouble with my application.

    When I try to register a ControlChannelTrigger I get HRESULT: 0x80070005 (E_ACCESSDENIED).

    On Windows 8.1 It was functioning as expected, is the ControlChannelTrigger to be deprecated in Win10?

    What kind of verification can I do (some on Package.appxmanifest)?

    Thanks, best regards.

    Thursday, January 29, 2015 7:52 AM

All replies

  • Hi,

    Do you set your application as a Lock Screen app in System Setting of windows 10 9926? As far as I know, the issue occurs related to person not set the app as a lock screen app. You can see the link below:

    https://msdn.microsoft.com/en-us/library/windows/apps/hh779720.aspx

    An app with a lock screen presence must declare one of the following types of background tasks:                                                

    • Control Channel (Windows-only)
    • Timer
    • Push Notification

    Note that the app can run background tasks only if the user has placed that app on the lock screen.

    There is no official article indicate that the ControlChannelTrigger cannot used in windows 10. And the The windows 10 is a preview product. If the problem also occurs, you can post the issue by use of Windows Feedback app — you’ll find it in the Start menu.

    Best Wishes!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

    • Marked as answer by Manuel Serra Friday, January 30, 2015 11:59 AM
    • Unmarked as answer by Manuel Serra Monday, February 16, 2015 4:32 PM
    Friday, January 30, 2015 5:29 AM
  • Thank you, I'll try to post the problem with Windows Feedback.

    Friday, January 30, 2015 11:59 AM
  • No luck with Windows Feedback app :-( .

    The problem is still here.

    For reference:

    await BackgroundExecutionManager.RequestAccessAsync();
    
    BackgroundAccessStatus accessStatus = BackgroundExecutionManager.GetAccessStatus();
    Debug.WriteLine(accessStatus);

    Produce:
    AllowedWithAlwaysOnRealTimeConnectivity


    Monday, February 16, 2015 4:34 PM
  • Hi Manuel,

    This is a known issue - ControlChannelTrigger has been returning that E_ACCESSDENIED error since the first public flight of Windows 10 Technical Preview. We are working hard to get this fixed.

    Cheers,

    Diego

    Wednesday, May 13, 2015 1:09 AM