Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp.net 3.5 X509Certificate2 Internal error...!!!!

Status
Not open for further replies.

StepanP

Programmer
Jun 20, 2011
1
UA
Hi.



When I try to execute code below I got an error 'Internal error occurred.'

certificate = new X509Certificate2( p12FileBytes, p12FilePassword );

and when I made change to certificate = new X509Certificate2( p12FileBytes, p12FilePassword,X509KeyStorageFlags.MachineKeySet );

I got another error 'Access Denied.'



How can I fix it?



In advance THANKS FOR HELP!



Regards,

Stepan.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top