Reputation: 51
UWP program that used to work fine does not want to start. When starting the app from Visual Studio 2017 the error message is:
Unable to activate Windows Store app '{guid-name}'. The activation request failed with error 'Access is denied'.
Windows Event Viewer displays the following error:
Activation for {guid-name} failed. Error code: Access is denied.. Activation phase: COM ActivateExtension
The app deploys successfully, but then trying to start it (with or without debugging) it fails. When trying to start from Start menu, nothing happens when I click the app icon, but when trying to start from Visual Studio it produces an error message box. How to find out what is actually wrong?
I have tried the following:
When I try to create a new UWP app, it works fine, so this is most likely solution-specific error, not something wrong in the computer itself.
Upvotes: 5
Views: 4475
Reputation: 172
I had a similar error message to this, but my error was that a Nuget package had a different package version to my App.
i don't think this will solve this particular issue but it solved mine and i couldn't find solution to this anywhere.
Upvotes: 0
Reputation: 13
I had the same problem when creating a blank Xamarin.Forms app targeting UWP. The solution was to create an exception for my app in F-Sscure which would otherwise block it.
Upvotes: 0
Reputation: 364
Usually this happens when there is an App with the same GUID as the one you are trying to Install/Debug. I would try to find the existing App, uninstall it, and try to deploy/debug again.
Upvotes: 5