Windows Embedded Blog

Archive for November 2012

Push Notifications on Windows Server 2012: PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync() fails

leave a comment »

I created an application that uses Raw Push Notifications – it works fine on Windows 8 but when running it on Windows Server 2012 it fails with an error that it could not register the push channel.

The error occurs at the function PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync()

After trying to add some features to the Server I finally managed to get it to work. This is a preliminary list of features that are installed on my server – I am sure that not all of them are required but I can’t do the testing at the moment.

Features installed on my server to enable Push Notifications:

  • .NET Framework 3.5 Features (all features)
  • .NET 4.5 Features
    • ASP.NET 4.5
  • Ink and Handwriting Services
  • Media Foundation
  • Message Queuing (all features)
  • Quality Windows Audio Video Experience
  • User Interfaces and Infrastructure (all features)
  • Web Server (IIS) (all features)
  • Windows Process Activation Service (all features)
  • Windows Power Shell (all features except Power Shell Web Access)
  • WoW64 Support

Written by Wolfgang Unger

November 21, 2012 at 14:08

Posted in Uncategorized