The program '[1756] BACKGROUNDTASKHOST.EXE' has exited with code 1 (0x1). RRS feed

  • Question

  • I have currently registered a background task with windows phone 8.1 app which triggers when receives a push notification but most of the times it exits with this error : 

    The program '[1756] BACKGROUNDTASKHOST.EXE' has exited with code 1 (0x1).

    without completing the process.

    What should i do to avoid this force exit of background task
    Sunday, April 12, 2015 9:58 AM


  • Hi Nikhil,

    Perhaps there is something wrong with your background task code. May be share your code with us can help to analysis the problem.

    Here are some guidelines to debug background task in Windows Runtime apps: How to debug a background task, take a look at the previous steps for example if you have the correct setting in manifest and etc.

    Besides I'm not sure when you will push the notification, as I know there is limitation for background task, not sure if you have read this before: Supporting your app with background tasks


    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.
    Click HERE to participate the survey.

    Monday, April 13, 2015 3:24 AM