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

[Bug]: Deny Policy Package Family Name Fails to Load Apps Due to URI issue #611

Closed
3 tasks done
neingesicht opened this issue Feb 21, 2025 · 3 comments · Fixed by #612
Closed
3 tasks done

[Bug]: Deny Policy Package Family Name Fails to Load Apps Due to URI issue #611

neingesicht opened this issue Feb 21, 2025 · 3 comments · Fixed by #612
Assignees
Labels
Bug 🐛 Something isn't working

Comments

@neingesicht
Copy link

Tools category

AppControl Manager app

Does Your System Meet The Requirements?

  • Yes, I acknowledge that I've read the requirements and my system meets them. 👍

Is your Windows Installation Genuine?

  • Yes, I acknowledge that the installation media of the Windows OS I used the tool on was downloaded from the official Microsoft website and I didn't tamper or modify it. 💯

Did You Read The Frequently Asked Questions?

  • Yes, I've referred to the FAQs and my issue is not covered/explained in there.

Please Explain The Bug

I am having an issue when trying to load apps in the "Create Deny Policy" "Package Family Name". It attempts to load applications but it does not load. I will paste the error details below.

Please let me know if there is anything else I should do to troubleshoot.

Error Details

02/21/2025 10:54:09: Checking for update on startup
02/21/2025 10:54:10: No new version of the AppControl Manager is available.


02/21/2025 10:54:28: Unhandled exception: The parameter is incorrect.
02/21/2025 10:54:09: App Startup, .NET runtime version: 9.0.2

@{MicrosoftWindows.Client.LKG_1000.22621.3733.0_x64__cw5n1h2txyewy?ms-resource://MicrosoftWindows.Client.LKG/Files/Assets/StoreLogo.png} is not a valid absolute URI.
02/21/2025 10:54:28: System.ArgumentException: The parameter is incorrect.

@{MicrosoftWindows.Client.LKG_1000.22621.3733.0_x64__cw5n1h2txyewy?ms-resource://MicrosoftWindows.Client.LKG/Files/Assets/StoreLogo.png} is not a valid absolute URI.
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
   at ABI.Windows.ApplicationModel.IPackage2Methods.get_Logo(IObjectReference _obj)
   at AppControlManager.Pages.CreateDenyPolicy.<GetAppsList>b__32_0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at AppControlManager.Pages.CreateDenyPolicy.GetAppsList()
   at AppControlManager.Pages.CreateDenyPolicy.GetContactsGroupedAsync()
   at AppControlManager.Pages.CreateDenyPolicy.PFNSettingsCard_Expanded(Object sender, EventArgs e)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
@neingesicht neingesicht added the Bug 🐛 Something isn't working label Feb 21, 2025
@HotCakeX
Copy link
Owner

HotCakeX commented Feb 21, 2025

Hi,
Thanks for reporting it. The app is listing all of the installed apps on your system for you to select but there is a problem when fetching one of the apps' icons. I'll make that part more resilient.

@neingesicht
Copy link
Author

Thank you for all of your work.

HotCakeX added a commit that referenced this issue Feb 21, 2025
improving the reliability of installed apps list fetching. Fixing this issue: #611

The URIs/logos of app have a reliable fallback value now so no error is thrown if they are invalid.
HotCakeX added a commit that referenced this issue Feb 21, 2025
improving the reliability of installed apps list fetching. Fixing this issue: #611

The URIs/logos of app have a reliable fallback value now so no error is thrown if they are invalid.

Also improved a small portion of the code to simplify an enum.
@HotCakeX
Copy link
Owner

Thank you for all of your work.

You're very welcome

Just fixed the issue, it will be available in the next version (1.9.1.0) very soon, thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐛 Something isn't working
Projects
None yet
2 participants