Any ideas what the solution is, to this problem in an asp.net c# web page??? (CryptoAPI cryptographic service provider (CSP) for this implementation could not be acquired.)

From: Justin (Justin__Barnes@Hotmail.Com)
Date: 03/20/03


From: "Justin" <Justin__Barnes@Hotmail.Com>
Date: Thu, 20 Mar 2003 14:22:51 -0000


CryptoAPI cryptographic service provider (CSP) for this implementation could
not be acquired.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Security.Cryptography.CryptographicException:
CryptoAPI cryptographic service provider (CSP) for this implementation could
not be acquired.

Source Error:

Line 83: dbConnection.Close();
Line 84: // RSACryptoServiceProvider RSA = new
RSACryptoServiceProvider(2);
Line 85: DSACryptoServiceProvider DSA = new DSACryptoServiceProvider(32);
Line 86:
Line 87: // RSAParameters RSAKeyInfo = RSA.ExportParameters(false);



Relevant Pages