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

No comments:

Post a Comment