maui icon indicating copy to clipboard operation
maui copied to clipboard

'Unable to activate windows store app {id}. The activation request failed with error code "The parameter is incorrect"'

Open MindMeltMax opened this issue 3 years ago • 5 comments

Description

Whenever I launch a .NET MAUI application on windows it crashes with the error (See title).

Error image

No code or info was changed, I just try to debug and it throws this and exits

Tested on an admin account with developer mode enabled

Steps to Reproduce

  1. Create a File > New .NET MAUI App
  2. Launch debug mode on windows machine

Expected outcome : A window opens with the default page Actual outcome: A dialog window appears with before mentioned error

Version with bug

6.0.400

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows 10 Home OS Build 19044.1889

Did you find any workaround?

No response

Relevant log output

No response

MindMeltMax avatar Aug 10 '22 15:08 MindMeltMax

So just to be clear; you are running the Windows app through Visual Studio, right? You click the run button and it shows you this?

What version of Visual Studio are you using? And what does dotnet --version tell you?

jfversluis avatar Aug 11 '22 18:08 jfversluis

Hi @MindMeltMax. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

ghost avatar Aug 11 '22 18:08 ghost

I tried running it from the startmenu, directly from the debug (and release) folder and from vs itself. Using vs 2022 Community version 17.3.0 on dotnet 6.0.400

MindMeltMax avatar Aug 12 '22 19:08 MindMeltMax

Is there a shortcut to the app in your Start Menu? If so, right-click it and select 🗑 Delete. Have you tried VS Menu > Build > Clean Solution ?

Jay-o-Way avatar Oct 24 '22 21:10 Jay-o-Way

I have the same issue. I'm able to create a solution with a single MAUI project that is capable of running. As soon as I create the project in another solution, or import it into a solution, or even, create a blank project with Visual Studio and rebuild the solution tree and create the new MAUI application into it, the problem pops up.

I've tried to find anything different between the two code environments, but was unable to figure out what is causing the issue. Maybe someone here would have an idea, let me know if I can provide data for investigating the problem.

atzimler avatar Nov 12 '22 00:11 atzimler

Hi @MindMeltMax. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.

You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

ghost avatar Jan 26 '23 23:01 ghost