WindowsAppSDK icon indicating copy to clipboard operation
WindowsAppSDK copied to clipboard

Calling `AppNotificationManager.Default.Register()` throws COMException (0x00703FD)

Open mavanmanen opened this issue 2 years ago • 6 comments

Describe the bug

I've followed the quickstart for using application notifications

Exception: System.Runtime.InteropServices.COMException (0x800703FD): Cannot create a stable subkey under a volatile parent key.

Steps to reproduce the bug

  1. Create new MAUI project
  2. Follow the quickstart for app notifications: https://learn.microsoft.com/en-gb/windows/apps/windows-app-sdk/notifications/app-notifications/app-notifications-quickstart
  3. Run project

Expected behavior

No exception and the notifications working properly.

Screenshots

No response

NuGet package version

Windows App SDK 1.3.2: 1.3.230602002

Packaging type

Unpackaged

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022

Additional context

Related: https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/4858

mavanmanen avatar Jul 29 '23 18:07 mavanmanen

we have c# sample for app notification here https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/Notifications/App. Can you please follow the sample to see whether you still have this issue.

robertzhou-wpn avatar Aug 17 '23 21:08 robertzhou-wpn

Can you also check this: https://devblogs.microsoft.com/oldnewthing/20170525-00/?p=96225 if this helps.

sharath2727 avatar Aug 17 '23 23:08 sharath2727

Same issue on my side.

nixxou avatar Aug 28 '23 14:08 nixxou

I've seen the same issue on a few users' boxes.

rpriest1260 avatar Aug 28 '23 17:08 rpriest1260

We have our app on about 40 machines, of which half a dozen show this issue. All the systems are configured identically, same version of everything.

rbutterworth avatar Sep 08 '23 11:09 rbutterworth

We might see this issue in Windows App SDK 1.4.3 as well for many users.

wbokkers avatar Nov 24 '23 17:11 wbokkers