Thursday, April 4, 2013

C# error: 'Unable to activate Windows Store app... The activation request failed with error 'This app failed to launch because of an issue with its license.'

When building a windows store app in Visual Studio 2012 for Windows 8, I was getting the error 'Unable to activate Windows Store app... The activation request failed with error 'This app failed to launch becuase of an issue with its license. Please try again in a moment. See help for advice on troubleshooting the issue.' (see Figure 1 below)

Resolution: Just a guess but the issue with this seemed to be that while an app is in the development cycle, the licensing will eventually run out on the installed instance. In order to get past this error, you will need to check a box that will uninstall the original project and reinstall it. Do this by right clicking on the project, selecting 'Properties', going to the 'Debug' tab, and selecting the 'Uninstall and then re-install my package. All information about the application state is deleted.' check box (see Figure 2 below).

This fixed the issue for me.

Figure 1 - The error 'This app failed to launch because of an issue with its license'

Figure 2 - The 'Uninstall and then re-install my package' check box

3 comments:

  1. hi

    I read your solution but don't understand how I can do this .. pls can help me I have this problem

    ReplyDelete
    Replies
    1. Are you not seeing the check box option when you navigate out to the location specified in the post? What version of Visual Studio are you using?

      Alternatively, you can uninstall the app on your computer manually outside of visual studio and see if that fixes the issue.

      Delete