Access Denied to start any process (WinUI 3)

1 Answer 629 Views
General Discussions
Lazie
Top achievements
Rank 1
Lazie asked on 12 Jan 2022, 12:56 PM

I can't launch any app because the code below shows this error: System.ComponentModel.Win32Exception: 'Access Denied'

var process = Process.Start(@"C:\foo.exe");

 

1 Answer, 1 is accepted

Sort by
1
Accepted
Lance | Senior Manager Technical Support
Telerik team
answered on 12 Jan 2022, 02:02 PM

Hello Lazie,

Thank you for sharing a screenshot, it looks like you're trying to launch a torrent application from your application and that is when you get the error. Unfortunately, this is unrelated to Telerik UI for WinUI so there isn't much we can assist with.

You can find WinUI forums in the Microsoft help site here Microsoft Q&A.

Regards,
Lance | Manager Technical Support
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Lazie
Top achievements
Rank 1
commented on 12 Jan 2022, 05:01 PM

Hi, thanks for the reply.
But I've already tested it with countless other applications, such as winword, mspaint, calc, notepad etc, and they all get the same error message.
Even opening Visual Studio with administrator privileges this error message appears.
I don't know if it's something in Visual Studio (I'm using the latest preview version) or if it could be something in WinUI 3 itself.
Anyway thanks for your attention.
Lance | Senior Manager Technical Support
Telerik team
commented on 12 Jan 2022, 05:50 PM

Hi Lazie,

Correct it is a VS or WinUI3 problem. Since the issue isn't related to Telerik's UI for WinUI components, this Telerik UI for WinUI forum isn't a place where you can find answers. I still didn't want your question going unanswered, so I replied to provide you a link where you can ask for help with WinUI or Visual Studio problems.

If you do find a solution and want to share it with the rest of the Telerik community, feel free to come back here and post a link to your other forum thread.

Good luck!

P.S. You can also try posting on https://stackoverflow.com

Tags
General Discussions
Asked by
Lazie
Top achievements
Rank 1
Answers by
Lance | Senior Manager Technical Support
Telerik team
Share this question
or