Export to GitHub

apns-sharp - issue #42

can run apns notifications test, but when I try in my asp.net web application i get credentials for package not recognized


Posted on Nov 25, 2010 by Happy Bear

What steps will reproduce the problem? 1. hosting a asp.net web app on iis7 2. trying to send notification 3.

What is the expected output? What do you see instead? a connection, no connection / failed - credentials not recognized

What version of the product are you using? On what operating system? latest 1.0.3

Please provide any additional information below.

Comment #1

Posted on Nov 25, 2010 by Happy Lion

Please use the SVN Trunk Source

Comment #2

Posted on Nov 25, 2010 by Happy Bear

Just tried with the trunk source. Still see the same problem.

I get an exception when the certificate object is created in NotificationChannel but i fix that by adding X509KeyStorageFlags.MachineKeySet.

certificate = new X509Certificate2(p12FileBytes,p12FilePassword,X509KeyStorageFlags.MachineKeySet);

It all works fine with the test application. I dont get it? :(

Status: WontFix

Labels:
Type-Defect Priority-Medium