Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
MindMeltMax opened this issue Aug 10, 2022 · 6 comments
Labels
legacy-area-desktop Windows / WinUI / Project Reunion & Mac Catalyst / macOS specifics (Menus & other Controls)) platform/windows 🪟 s/try-latest-version Please try to reproduce the potential issue on the latest public version t/bug Something isn't working t/desktop The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK)

Comments

@MindMeltMax
Copy link

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 MindMeltMax added the t/bug Something isn't working label Aug 10, 2022
@jfversluis
Copy link
Member

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 jfversluis added legacy-area-desktop Windows / WinUI / Project Reunion & Mac Catalyst / macOS specifics (Menus & other Controls)) s/needs-info Issue needs more info from the author labels Aug 11, 2022
@ghost
Copy link

ghost commented Aug 11, 2022

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.

@MindMeltMax
Copy link
Author

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

@ghost ghost added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author labels Aug 12, 2022
@Jay-o-Way
Copy link

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 ?

@atzimler
Copy link

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.

@samhouts samhouts added s/try-latest-version Please try to reproduce the potential issue on the latest public version and removed s/needs-attention Issue has more information and needs another look labels Jan 26, 2023
@ghost
Copy link

ghost commented Jan 26, 2023

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 ghost closed this as completed Feb 3, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Mar 5, 2023
@samhouts samhouts added this to the .NET 7 + Servicing milestone May 2, 2023
@Eilon Eilon added the t/desktop The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK) label May 10, 2024
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
legacy-area-desktop Windows / WinUI / Project Reunion & Mac Catalyst / macOS specifics (Menus & other Controls)) platform/windows 🪟 s/try-latest-version Please try to reproduce the potential issue on the latest public version t/bug Something isn't working t/desktop The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK)
Projects
None yet
Development

No branches or pull requests

6 participants